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

Class enchant.gl.physics.RigidCapsule

Class Summary
Constructor Attributes Constructor Name and Description
 
enchant.gl.physics.RigidCapsule(radius, height, mass)
Capsule-shaped rigid object.
Fields borrowed from class enchant.gl.physics.Rigid:
friction, restitution, rigidBody, world

Class Detail

enchant.gl.physics.RigidCapsule(radius, height, mass)
Capsule-shaped rigid object. A shape with a cylinder running along the y axis and hemispheres at both ends.
Parameters:
{Number} radius
Hemisphere radius.
{Number} height
Half the height of the cylinder.
{Number} mass
Mass of the rigid object.
See:
enchant.gl.physics.Rigid
enchant.gl.physics.PhyCapsule