Rotate to Angle/Collision Issue
Hey Guys-
So I have box that I have set up that when the mask hits the box, after 3 seconds it should rotate to 90 degrees. The mask is attached to the hero and performs a falling animation. My problem is that when the hero is falling and lands on this particular box, he is still in his falling animation while stopped on the box, then after 3 seconds the box rotates to the 90 degree angle.
How would I set it up so that the hero (mask) stops performing the falling animation when it collides with this box?
Here is the set up I have for the box itself
http://screencast.com/t/HRXoHTfYUoxO
So I have box that I have set up that when the mask hits the box, after 3 seconds it should rotate to 90 degrees. The mask is attached to the hero and performs a falling animation. My problem is that when the hero is falling and lands on this particular box, he is still in his falling animation while stopped on the box, then after 3 seconds the box rotates to the 90 degree angle.
How would I set it up so that the hero (mask) stops performing the falling animation when it collides with this box?
Here is the set up I have for the box itself
http://screencast.com/t/HRXoHTfYUoxO
Comments
In the player have your animation behavior in a rule when attribute StopAnimation=0
then have a rule in the player when actor collides with box, change attribute StopAnimation to 1
cheers