Documentation generator: JsDoc Toolkit 2.4.0
Template: Codeview 1.2
Generated on: 2016-0-4 21:22

Class enchant.gl.physics.PhySphere

Class Summary
Constructor Attributes Constructor Name and Description
 
enchant.gl.physics.PhySphere(radius, mass, lDamp, aDamp)
Spherical PhySprite3D.
Fields borrowed from class enchant.gl.physics.PhySprite3D:
friction, restitution

Class Detail

enchant.gl.physics.PhySphere(radius, mass, lDamp, aDamp)
Spherical PhySprite3D. If added to PhySprite3D, physical calculation will be applied each time stepSimulation is called up.
Parameters:
{Number} radius
Spherical body radius.
{Number} mass
Rigid body mass.
lDamp
aDamp
See:
enchant.gl.physics.PhySprite3D
enchant.gl.physics.PhyScene3D