Class enchant.gl.physics.RigidSphere
- Defined in: physics.gl.enchant.js
- Extends enchant.gl.physics.Rigid
Constructor Attributes | Constructor Name and Description |
---|---|
enchant.gl.physics.RigidSphere(radius, mass, lDamp, aDamp)
Spherical rigid object.
|
- Fields borrowed from class enchant.gl.physics.Rigid:
- friction, restitution, rigidBody, world
Method Summary
- Methods borrowed from class enchant.gl.physics.Rigid:
- activate
- applyCentralImpulse
- applyImpulse
- clearForces
- contactTest
- kinematize
- rotationApply
- rotationSet
- scale
- translate
Class Detail
enchant.gl.physics.RigidSphere(radius, mass, lDamp, aDamp)
Spherical rigid object.
- Parameters:
- {Number} radius
- Sphere radius.
- {Number} mass
- Rigid body mass.
- lDamp
- aDamp