Question by
daoquangvinh95 · Mar 17 at 07:45 AM ·
3rd person controller
transform rotation
" float targetAngel = Mathf.Atan2(moveX , moveY) * Mathf.Rad2Deg;
transform.rotation = Quaternion.Euler(0,targetAngel,0); "
When i move it works great, but when i stop moving, rotation.y always return to 0. How can i fix that?
Comment
Your answer
Follow this Question
Related Questions
itween 3rd character humanoid issue 0 Answers
Se como gráficar valores de altura con respecto al tiempo 0 Answers
Character only falls when button is pushed down 0 Answers
3rd Person Camera Controller, Character should follow the Camera Movement 0 Answers
Using transform.LookAt() but allow modification of one axis. 0 Answers