the problem is that my player keeps flipping when I aim in the direction desired, what I want is gust to aim while keeping the player in a normal position, here is the code and an image of the problem, and if you have any solution I will highly appreciate it. thanks.
#top down aiming problem
1 messages · Page 1 of 1 (latest)
Currently you´re rotating the rigidbody, which is attached to the player. This caused the rotation of the whole player. What you want to do instead is to rotate some sort of aim point, that is a child of the player.
do you have an idea on how to do that, because i was trying for some time with no success, sorry for the trouble.
So in my game I did go for a system, where you have an empty gameobject as a child of the player. You rotate this object and place the point you shoot from as a child of it. This way you can position the aim point where ever you want and the offset is persistent even if you rotate the parent.
No worries I´m here to help.
thank you very very much it finally worked.
You´re welcome.
Good luck!