Different collisions for sides of an actor

I am currently making a Geometry Dash like game, and I need to know how to do something. How can make it so when the running square collides with the side of another block, it destroys, but colliding on top, it keeps going? (I already have the second thing set up)

Comments

  • Andrea_ComisiAndrea_Comisi ItalyMember Posts: 328

    You need to make a mask or you can also create a death boolean attribute ,create a rule in the block when overlaps with actor of type player
    And player y position is < than my y position
    Change attribute death to false.

    And in the player create a rule when death is true destroy
    When you end the game don't forget to post the link ;)

  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772

    The video below shows you one way to detect a collision on just the top portion of an actor (it's head), I'm sure it could be adapted to detect side collisions instead:

Sign In or Register to comment.