I have a question on the function:
ridigbody.velocity.z
My maximum speed is around 6.1 in z direction but when my character moves to the left or right there is an increase to around 7~8. I don’t understand how the movement in x and y could have an influence on the z axis as it is perpendicular to it.
I think I also had this problem when I worked on spaceship mechanics. Rigidbody.velocity is a vector in world space but I always thought it would return x,y,z in the rigidbody local direction.