Tesseract Engine Documentation

Mass Fields

The fields of the Mass class are listed below. For a complete list of Mass class members, see the Mass Members topic.

Public Instance Fields

acceleration The object's current acceleration
adhesion Used to calculate bonding factor to other game objects
boundingVolume Bounding volume of this mass
cohesion Used to calculate bonding factor to like objects
collisionChecked Have we completed all collisions on this mass
COR Coefficient Of Restitution for this object
currentPosition The objects center location
currentRotation Stores current rotation information
deadObject Does the object need to be recycled
dynamicFrictionCoefficient Dynamic Friction Coefficient of this object
energy Initial Fire energy given to player
fallingDamageMultiplier Amount of damage to be applied when this mass falls/hits the terrain
gameObjectPointer Pointer from this mass back up to the game object associated with it
isChanging Temperature change check
isMoving Motion check
lastMaxHeight Used for falling damage calculations
lastPosition Needed for updating the lookup map
mass Kilos
movementType Motion type of this object
normalVector Straight ahead - normalized
numberOfCollision Number of times this object has collided with something
objectHeight Object height above the terrain. Based on model properties
objectType Tells us what type of an object his is
perpVector Straight to the right - normalized
scale Model Scale Factor
sensorDirection Orientation of the Sensor
stateChangeThreshold Temperature (Celcius) at which a particle changes state
staticFrictionCoefficient Static Friction Coefficient of this object
totalForce Used to sum the forces on a GameObject during Update
upVector Straight up - normalized
velocity Un-Normalized Vector in the direction of object movement

See Also

Mass Class | DarkWynter.Engine.Physics Namespace