Category: 2D Game Physics (Pro)
BodyRotation(body As Integer)
Double
Returns the body's current angle in degrees.
Angles integrated by the simulation wrap near -180 to 180 degrees. Invalid handles return 0.
Pro feature: requires GamePhysics.
SetDrawRotation BodyRotation(crate)