I’m taking my rotation player this all right up here
My player starts at position Z
is the value from “1.0”
when he turns down the X axis
is the value from “0.0”
but if he stopped turning for a long time in that position
I wanted to know why the value changes to “5.960464E-08”
it does not exist and can not happen!
Anyone know if I need to normalize this variable code?
anyone been through this problem?
Vector3 rotMessi = Messi.transform.TransformDirection(Vector3.forward);
print (rotMessi.z);
when he get in X Axis
when it gets long in the X axis