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

Class enchant.gl.physics.PhyCube

Class Summary
Constructor Attributes Constructor Name and Description
 
Cubic type PhySprite3D.
Fields borrowed from class enchant.gl.physics.PhySprite3D:
friction, restitution

Class Detail

enchant.gl.physics.PhyCube(scale, mass)
Cubic type PhySprite3D. If added to PhySprite3D, physical calculation will be applied each time stepSimulation is called up.
Parameters:
{Number} scale
Distance between center of box and surface.
{Number} mass
Mass of rigid body.
See:
enchant.gl.physics.PhySprite3D
enchant.gl.physics.PhyScene3D