Difference between revisions of "Body:setAngularDamping"

 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
 
Sets the angular damping of a Body
 
Sets the angular damping of a Body
  
Line 16: Line 15:
 
=== Returns ===
 
=== Returns ===
 
Nothing.
 
Nothing.
 +
 
== See Also ==
 
== See Also ==
 
* [[parent::Body]]
 
* [[parent::Body]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=Sets the angular damping of a Body
+
{{#set:Description=Sets the angular damping of a Body}}
}}
+
{{#set:Since=000}}
 +
 
 +
== Other Languages ==
 +
{{i18n|Body:setAngularDamping}}

Latest revision as of 10:43, 25 March 2011

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