Difference between revisions of "Shape:setDensity"

m (1 revision: Importing from potato (again).)
m (included link to other languages)
Line 1: Line 1:
 
 
Sets the density of a Shape.  
 
Sets the density of a Shape.  
 
Do this before calling [[Body:setMassFromShapes]].
 
Do this before calling [[Body:setMassFromShapes]].
Line 16: Line 15:
 
{{#set:Description=Sets the density of a Shape.  
 
{{#set:Description=Sets the density of a Shape.  
 
}}
 
}}
 +
== Other Languages ==
 +
{{i18n|Shape:setDensity}}

Revision as of 08:57, 23 January 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