Tracking Rotation for Flips/rolls

I need to track the rotation of a car on its Z and X axis to check how many times it has flipped or rolled (gone 360 degrees + or - in the Z and or X directions before landing) I already know how to track when the car leaves the ground and lands again, but because eulers reset to 0 once exceeding 360 degrees I can't track beyone one roll or flip.

If eulers could track beyond 360d I could divide the difference between the start and end rotation by 360 and then determine how many rolls or flips there are from that, but I can't. Help anyone?

You could check localEulerAngles:

if(transform.localEulerAngles.z > 80 && transform.localEulerAngles.z < 280)

and then set a counter to +1.

(You might need to set a variable to true every time when it’s flipped to increase the count only once per flip.)

even when using the boolean statement it's adding dozens of points too many when the car isn't even rotating that much x.x

Unity and rotations seems cursed to me

I had the same problem Ben, just gives a crazy amount of points.