I am creating an endless runner game. I need help with how stop the scene when the actor dies. For example, in Flappy bird, when the bird collides with the pole, the poles stop moving forward and the falling bird animation occurs. I want this same effect to happen that when my character collides with a pole, i need them to stop moving and an animation to play. Any suggestions?
↧