- Home /
Question by
SolidSlish · Aug 17, 2019 at 04:26 PM ·
animationcollisiontriggerjumpendless runner
Only Collide When Certain Animation is Not Playing
So I'm making an endless runner game where the player can slide and jump, in addition to normally running. I cant modify my character controller so I wanted to make it so that
If my character collides with an object and the correct animation wasn't playing when doing so, it counts as a death. So playing the sliding animation on a button press when colliding with a low hanging object would not count as a death for example.
How would I go about accomplishing this?
connect3.png
(45.7 kB)
connect2.png
(437.3 kB)
Comment