playMaker

Author Topic: How to make an animation stop at a collider?  (Read 1322 times)

Merto

  • Playmaker Newbie
  • *
  • Posts: 20
How to make an animation stop at a collider?
« on: December 03, 2014, 09:15:55 AM »
Hey, I'm totally new to Playmaker and I'm wondering how to make an animation react to a collider.

Here's a pic of two box colliders, one of them moving:



If I press Box 1 to activate an animation it moves straight through Box 2.

How would I create such a system where Box 1 collides with Box 2 and the animation stops there? The system should work so that all colliders collide with each other and it doesn't have to work through animations if there is a better way to do it.

Thank you!