Difference between revisions of "Body:setAngularDamping"

m (1 revision: Imported docs from potato.)
Line 1: Line 1:
  
 +
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 ==
 
== Function ==
Line 13: Line 19:
 
* [[parent::Body]]
 
* [[parent::Body]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=}}
+
{{#set:Description=Sets the angular damping of a Body
 +
}}

Revision as of 16:17, 14 February 2010

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