- Home /
After I move to my object(via arrow keys) and it is destroyed how to play the animation
well i have been trying to move my player(via arrow keys) the player object is destroyed and the object it collided with plays its animation, but it does not play its audioclip. what happens right now is that the object the player suppose to collide does its animation as soon as the scene starts, therefore i dont have the chance to move my player with the keys. please help me move my player to the object and then play the animation, then go to the other scene
You didn't provide any code, so it's hard to help you. First of all, if you use an Animation component, uncheck the box that says "Play Automatically". If you use an Animator, make sure that the animation to be played is not set as the default animation, and nthat the default animation does not transition to it at game start.
As you can see, you might want to provide a lot more information about how your scene and the relevant objects are set up.