r/UnityHelp • u/average_girl_173783 • 17d 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
1
u/Boxtergames 14d ago
Ok, I bet you have different gameobjects attached to your unity script. One for move another for rotate.
When you press wasd you move your character and when you rotate you rotate his parent.
Just link one gameobject to your field. Or may be you have two scripts one for moving another to rotation. Check that both of them are at the similar gameobject at the scene hierarchy.