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

Class enchant.gl.physics.RigidBox

Class Summary
Constructor Attributes Constructor Name and Description
 
enchant.gl.physics.RigidBox(scaleX, scaleY, scaleZ, mass)
Rectangular solid rigid body object.
Fields borrowed from class enchant.gl.physics.Rigid:
friction, restitution, rigidBody, world

Class Detail

enchant.gl.physics.RigidBox(scaleX, scaleY, scaleZ, mass)
Rectangular solid rigid body object.
Parameters:
{Number} scaleX
Vertical distance along the x axis from rectangular body's center.
{Number} scaleY
Vertical distance along the y axis from rectangular body's center.
{Number} scaleZ
Vertical distance along the z axis from rectangular body's center.
{Number} mass
Rigid body's mass.
See:
enchant.gl.physics.Rigid
enchant.gl.physics.PhyBox