[Solved]Animating Player Entry

I have animated the player’s fly-in to the star field. However, when the animator component is active and after the fly-in, I can no longer control my player’s movement. Any ideas on what’s going on?

You can’t animated the same GameObject that have it’s transform changed through script, the best option would be to set the sprite of the player’s ship as child of another (new) GameObject, and then you could animate the child object (the sprite), and place the scripts into the parent GamObject (which will be your “player” prefab).

I moved the sprite renderer and animator to a child object and it works like a charm! Thanks again @Joao_Dalvi

1 Like

You are welcome my friend :slight_smile:

I had the same issue and this workaround fixed it for me too!
Thanks a lot!

1 Like

Privacy & Terms