Body:setFixedRotation

Set whether a body has fixed rotation.

Bodies with fixed rotation don't vary the speed at which they rotate.

WARNING: There is an outstanding issue with this function when called with a false argument.

Function

Synopsis

Body:setFixedRotation( isFixed )

Arguments

boolean isFixed
Should the body have fixed rotation.

Returns

Nothing.

See Also