Class enchant.gl.physics.RigidContainer
- Defined in: physics.gl.enchant.js
- Extends enchant.gl.physics.Rigid
Constructor Attributes | Constructor Name and Description |
---|---|
enchant.gl.physics.RigidContainer(scale, mass)
Box shape solid 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.RigidContainer(scale, mass)
Box shape solid object.
- Parameters:
- {Number} scale
- Distance between center of box to border.
- {Number} mass
- Mass of rigid object.