Class enchant.gl.physics.RigidPlane
- Defined in: physics.gl.enchant.js
- Extends enchant.gl.physics.Rigid
Constructor Attributes | Constructor Name and Description |
---|---|
enchant.gl.physics.RigidPlane(NormalX, NormalY, NormalZ, distance)
Infinite level surface rigid body 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.RigidPlane(NormalX, NormalY, NormalZ, distance)
Infinite level surface rigid body object.
- Parameters:
- {Number} NormalX
- Level surface normal vector x component.
- {Number} NormalY
- Level surface normal vector y component.
- {Number} NormalZ
- Level surface normal vector z component.
- distance