Difference between revisions of "Shape:setDensity"

m (included link to other languages)
Line 13: Line 13:
 
* [[parent::Shape]]
 
* [[parent::Shape]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=Sets the density of a Shape.  
+
{{#set:Description=Sets the density of a Shape.}}
}}
+
{{#set:Since=000}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|Shape:setDensity}}
 
{{i18n|Shape:setDensity}}

Revision as of 10:53, 25 March 2011

Sets the density of a Shape. Do this before calling Body:setMassFromShapes.

Function

Synopsis

Shape:setDensity( density )

Arguments

number density
The new density of the Shape.

Returns

Nothing.

See Also


Other Languages