Particle Class
Particle shape.
Constructor
Particle
()
Item Index
Properties
Methods
updateBoundingSphereRadius
()
Number
Computes the bounding sphere radius. The result is stored in the property .boundingSphereRadius
Returns:
Number:
volume
()
Number
Get the volume of this shape
Returns:
Number:
Properties
boundingSphereRadius
Number
The local bounding sphere radius of this shape.
collisionResponse
Boolean
Whether to produce contact forces when in contact with other bodies. Note that contacts will be generated, but they will be disabled.
id
Number
Identifyer of the Shape.
type
Number
The type of this shape. Must be set to an int > 0 by subclasses.