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

Class enchant.gl.physics.PhyContainer

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

Class Detail

enchant.gl.physics.PhyContainer(scale, mass)
Square type PhySprite3D. If added to PhySprite3D, physical calculation will be performed each time stepSimulation is called up.
Parameters:
{Number} scale
Distance between center and edge of square.
{Number} mass
Rigid body mass.
See:
enchant.gl.physics.PhySprite3D
enchant.gl.physics.PhyScene3D