Class enchant.gl.physics.PhyPlane
- Defined in: physics.gl.enchant.js
- Extends enchant.gl.physics.PhySprite3D
Constructor Attributes | Constructor Name and Description |
---|---|
enchant.gl.physics.PhyPlane(NormalX, NormalY, NormalZ, dist, scale)
無限平面型のPhySprite3D.
|
- Fields borrowed from class enchant.gl.physics.PhySprite3D:
- friction, restitution
Method Summary
- Methods borrowed from class enchant.gl.physics.PhySprite3D:
- applyCentralImpulse
- applyImpulse
- clearForces
- contactTest
- kinematize
- rotationApply
- rotationSet
- scale
- translate
Class Detail
enchant.gl.physics.PhyPlane(NormalX, NormalY, NormalZ, dist, scale)
無限平面型のPhySprite3D.
PhySprite3Dに追加すると, stepSimulationを呼び出した際に物理演算が適用される.
- Parameters:
- {Number} NormalX
- 平面の法線ベクトルのx成分.
- {Number} NormalY
- 平面の法線ベクトルのy成分.
- {Number} NormalZ
- 平面の法線ベクトルのz成分.
- dist
- scale