logo hyperPad Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Login

    Conditional collisions

    Scheduled Pinned Locked Moved
    Help and Support
    3
    4
    193
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • StanicaS
      Stanica
      last edited by

      I'm working on a mini-golf game where you drag the putter back to build power, and release to have it shoot toward the ball. I want to add some enemies that you can hit with the ball but currently the putter also collides with them. How can I make the putter pass through enemies but still collide with the ball?

      1 Reply Last reply Reply Quote 0
      • MurtazaM
        Murtaza Admin
        last edited by

        We have an ignore collisions behaviour. Will this do what you want?

        https://hyperpad.zendesk.com/hc/en-us/articles/360016443491-Ignore-Collisions

        StanicaS 1 Reply Last reply Reply Quote 0
        • RobinsonXR
          RobinsonX
          last edited by

          @Stanica You can make the enemies passable, so the ball can pass through the enemies but still register collisions.

          1 Reply Last reply Reply Quote 0
          • StanicaS
            Stanica @Murtaza
            last edited by

            @Murtaza said in Conditional collisions:

            We have an ignore collisions behaviour. Will this do what you want?

            https://hyperpad.zendesk.com/hc/en-us/articles/360016443491-Ignore-Collisions

            ....can't believe I missed that. Thanks!

            1 Reply Last reply Reply Quote 0
            • First post
              Last post