Hey
I have a 2d circle that is either rotating clockwise or anti-clockwise around it’s center, and I’m trying to figure out which direction it’s rotating? I realize I can use rigibody.velocity.z as it’s the only thing changing, but I’m not sure how?
Check out Rigidbody2D.angularVelocity… it returns a float which is how much the rigidbody is rotating in degrees per second. A positive value i believe is clockwise