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)
Infinite plane type 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)
Infinite plane type PhySprite3D.
If added to PhySprite3D, physical calculation will be performed each time stepSimulation is called up.
- Parameters:
- {Number} NormalX
- x component on plane normal vector.
- {Number} NormalY
- y component on plane normal vector.
- {Number} NormalZ
- z component on plane normal vector.
- dist
- scale