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

Class enchant.gl.physics.PhyCapsule

Class Summary
Constructor Attributes Constructor Name and Description
 
enchant.gl.physics.PhyCapsule(radius, height, mass)
カプセル型のPhySprite3D.
Fields borrowed from class enchant.gl.physics.PhySprite3D:
friction, restitution

Class Detail

enchant.gl.physics.PhyCapsule(radius, height, mass)
カプセル型のPhySprite3D. y軸に沿う円柱の両端に半球をつけた形状. PhySprite3Dに追加すると, stepSimulationを呼び出した際に物理演算が適用される.
Parameters:
{Number} radius
半球体の半径.
{Number} height
円柱の高さの半分.
{Number} mass
剛体の質量.
See:
enchant.gl.physics.PhySprite3D
enchant.gl.physics.PhyScene3D