BodyAngularVelocity
Category: 2D Game Physics (Pro)
Signature
BodyAngularVelocity(body As Integer)
Returns
Double
Description
Returns the body's current angular velocity in degrees per second.
Performance and behavior
Static, rotation-locked, and invalid bodies return 0.
Pro feature: requires GamePhysics.
Example
spin = BodyAngularVelocity(wheel)