Hello,
I tried to calculate the rotation of the transform (transform.rotation.z or transform.eulerAngle.z) from when my car get off the ground to when it hit back the ground.
But my problem is that when my car do a complete rotation tranform.eulerAngles.z always goes from 360 to 1.
I would have expect that the rotation just add the whole time the scene is running.
What I mean is that if my starting rotation was 0 and my car jump and do 3 backflip, then his rotation is now something like -1080.
But when rotation exceed 360, it goes back to 1
Can anybody have and idea to calculate the complete rotation ? Help would be highly appreciate Thanks !