Hi,
Is it at all possible to make the rotation of an axis PERMANENTLY zero while still being able to have the other two actively rotating?
Hi,
Is it at all possible to make the rotation of an axis PERMANENTLY zero while still being able to have the other two actively rotating?
You can lock the rotation of 1 axis by:
function Update(){
//end of script
transform.eulerAngles.x=0;
}