Sets the Mass of the StaticBody. Will set the Mass to 0.1 if the value passed is less than or equal to zero.
name | type | description |
---|---|---|
value | number |
The value to set the Mass to. Values of zero or less are changed to 0.1. |
This Static Body object.