Category: 2D Game Physics (Pro)
SetBodyRotation(body As Integer, rotation As Double)
Void
Sets a body's angle in degrees. Rotated boxes use the new angle for collision detection immediately.
Works for dynamic and static bodies. Rotation-locked bodies may still be positioned at a fixed angle with this function.
Pro feature: requires GamePhysics.
SetBodyRotation ramp, -12.5