Body:setAngularDamping

Sets the angular damping of a Body

See Body:getAngularDamping for a definition of angular damping.


Angular damping can take any value from 0 to infinity. It is recommended to stay between 0 and 0.1, though. Other values will look unrealistic.

Function

Synopsis

Body:setAngularDamping( damping )

Arguments

number damping
The new angular damping.

Returns

Nothing.

See Also


Other Languages

Personal tools