Collision is delayed?

SunnySunny Member Posts: 12

Hi,
I'm currently trying to make an object fall down the scene and stop moving when it hits the actor "Floor"
The code for the falling object is like this:

Actor overlaps or collides with Floor
Change Velocity To 0
Otherwise:
Change velocity to 1000 down (270)

The actor falls down the scene, however it does not stop moving until it is halfway into the Floor actor. How do I make it so that the actor stops moving immediately after it hits the Floor?

Many Thanks

Comments

  • CrazyApeCrazyApe Member Posts: 64
    edited March 2014

    Change the bounciness in both actors to 0. Then Create a rule in the falling object:
    When actor receives event overlaps or collides with Floor
    Then put a Collide behavior in the rule. Bounce when colliding with: Floor

  • SunnySunny Member Posts: 12

    Yep that solved it thanks!

Sign In or Register to comment.