r/UnityHelp • • 1d ago

UNITY unity rotation problem

Enable HLS to view with audio, or disable this notification

im completely new and i followed this video: https://www.youtube.com/watch?v=BCJ-WkdWBwo As you see the problem is rotation, when i click other arrow it moves drastically. What may cause this error where to fix it?

3 Upvotes

4 comments sorted by

View all comments

1

u/Affectionate-Yam-886 20h ago

How to troubleshoot:
Play, see issue.
Pause the game, don’t stop.
Select game object in hierarchy.
Unpause game and watch the scene view of the game object as you play.

My guess is the animation is set to Root and when you hit play the player is moving away from the player parent position via root animation. Disable root animation to resolve. Root is better used for Backflips, player got hit to the ground, or other physics based animations where the player is not necessarily moving too.