Fork me on GitHub

API Documentation


Extends GLGE.PhysicsAbstract.
A wrapping class for jiglib spheres
Defined in: glge_physicsplane.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
 
Gets the distance of the plane
 
Gets the normal of the plane
 
setDistance(value)
Sets the distance of the plane
 
setNormal(value)
Sets the normal of the plane
Methods borrowed from class GLGE.PhysicsAbstract:
addBodyForce, addBodyTorque, addWorldForce, addWorldTorque, clearForces, getAngularVelocity, getAngularVelocityX, getAngularVelocityY, getAngularVelocityZ, getFriction, getLinearVelocityDamping, getMass, getModelMatrix, getMovable, getRestitution, getRotationalVelocityDamping, getType, getVelocity, getVelocityX, getVelocityY, getVelocityZ, preProcess, setAngularVelocity, setAngularVelocityX, setAngularVelocityY, setAngularVelocityZ, setFriction, setLinearVelocityDamping, setMass, setMovable, setRestitution, setRotationalVelocityDamping, setType, setVelocity, setVelocityX, setVelocityY, setVelocityZ
Methods borrowed from class GLGE.Group:
addChild, addParticleSystem, downloadComplete, getBoundingVolume, getChildren, getLights, getNames, getObjects, getPickable, getVisible, isComplete, removeChild, setAction, setPickable, setVisible, updateAllPrograms
Methods borrowed from class GLGE.Animatable:
animate, blendTo, getAnimation, getBlendFunction, getFrameNumber, getFrameRate, getLoop, getName, getPaused, isLooping, setAnimation, setBlendFunction, setFrameRate, setLoop, setName, setPaused, setStartFrame, togglePaused
Methods borrowed from class GLGE.Events:
addEventListener, fireEvent, removeEventListener
Methods borrowed from class GLGE.Placeable:
clearStaticMatrix, getDLocX, getDLocY, getDLocZ, getDRotX, getDRotY, getDRotZ, getDScaleX, getDScaleY, getDScaleZ, getId, getInverseModelMatrix, getLocalMatrix, getLocX, getLocY, getLocZ, getLookat, getPosition, getQuatW, getQuatX, getQuatY, getQuatZ, getRef, getRoot, getRotation, getRotMatrix, getRotOrder, getRotX, getRotY, getRotZ, getScale, getScaleMatrix, getScaleX, getScaleY, getScaleZ, getTranslateMatrix, getTransposeInverseModelMatrix, getTransposeModelMatrix, getUpAxis, Lookat, move, setDLoc, setDLocX, setDLocY, setDLocZ, setDRot, setDRotX, setDRotY, setDRotZ, setDScale, setDScaleX, setDScaleY, setDScaleZ, setId, setLoc, setLocX, setLocY, setLocZ, setLookat, setQuat, setQuatW, setQuatX, setQuatY, setQuatZ, setRot, setRotMatrix, setRotOrder, setRotX, setRotY, setRotZ, setScale, setScaleX, setScaleY, setScaleZ, setStaticMatrix, setTransformMode, setUpAxis
Methods borrowed from class GLGE.QuickNotation:
_
Methods borrowed from class GLGE.JSONLoader:
getDownloadPriority, setDownloadPriority, setJSONSrc, setJSONString
Events borrowed from class GLGE.Group:
childAdded, childRemoved, downloadComplete
Events borrowed from class GLGE.Animatable:
animFinished
Events borrowed from class GLGE.Placeable:
appened, childMatrixUpdate, matrixUpdate, removed
Class Detail
GLGE.PhysicsPlane(uid)
Parameters:
uid
Method Detail
{number} getDistance()
Gets the distance of the plane
Returns:
{number} The current distance

{number} getNormal()
Gets the normal of the plane
Returns:
{number} The current normal

setDistance(value)
Sets the distance of the plane
Parameters:
{number} value
The distance to set

setNormal(value)
Sets the normal of the plane
Parameters:
{number} value
The normal to set

Documentation generated by JsDoc Toolkit 2.4.0 on Sun Feb 12 2012 14:20:23 GMT+0000 (GMT)