Good Day
I'm working on a rigidbody rig where I need to know whether or not the body has over turned in the world. Think of a vehicle where I need to know when to turn the driving impulse off. I first thought of an expression that followed the rotations within a range, e.g. between 70 degrees positive and negative in the x and z axis (y up world).
Obviously with maya's Euler rotations and generating the shortest solution I get unusable values where the vehicle is still upright with rotation values outside the range I'm looking for. I understand why this is so, but can't come up with a solution around it.
Beyond getting into matrix math (I suck) are there any other possible solutions?
Thank you
RR