- Home /
 
Lock Z Rotation. Character Controller.
Well, I'm having trouble with this: My character has a bow, and I can aim on the x and y axis, but my character also rotates on the z axis, so I was wondering if there's any way to lock the z axis so my character can't rotate sideways? I'm using a Character Controller. If someone could help me I'll appreciate a lot :)
               Comment
              
 
               
               
               Best Answer 
              
 
              Answer by sparkzbarca · Oct 16, 2012 at 03:29 AM
transform.eulerangles.z = 0;
mark answered if your satisfied. :)
Your answer