Class enchant.gl.physics.RigidCapsule
- Defined in: physics.gl.enchant.js
- Extends enchant.gl.physics.Rigid
Constructor Attributes | Constructor Name and Description |
---|---|
enchant.gl.physics.RigidCapsule(radius, height, mass)
カプセル型の剛体オブジェクト.
|
- 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.RigidCapsule(radius, height, mass)
カプセル型の剛体オブジェクト.
y軸に沿う円柱の両端に半球をつけた形状.
- Parameters:
- {Number} radius
- 半球体の半径.
- {Number} height
- 円柱の高さの半分.
- {Number} mass
- 剛体の質量.