RigidBody

Undocumented in source.

Constructors

this
this()
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

addShapeComponent
void addShapeComponent(ShapeComponent shape)
Undocumented in source. Be warned that the author may not have intended to support it.
applyForce
void applyForce(Vector3f force)
Undocumented in source. Be warned that the author may not have intended to support it.
applyForceAtPos
void applyForceAtPos(Vector3f force, Vector3f pos)
Undocumented in source. Be warned that the author may not have intended to support it.
applyImpulse
void applyImpulse(Vector3f impulse, Vector3f point)
Undocumented in source. Be warned that the author may not have intended to support it.
applyPseudoImpulse
void applyPseudoImpulse(Vector3f impulse, Vector3f point)
Undocumented in source. Be warned that the author may not have intended to support it.
applyTorque
void applyTorque(Vector3f torque)
Undocumented in source. Be warned that the author may not have intended to support it.
contactEvent
void contactEvent(Contact c)
Undocumented in source. Be warned that the author may not have intended to support it.
free
void free()
Undocumented in source. Be warned that the author may not have intended to support it.
integrateForces
void integrateForces(float dt)
Undocumented in source. Be warned that the author may not have intended to support it.
integratePseudoVelocities
void integratePseudoVelocities(float dt)
Undocumented in source. Be warned that the author may not have intended to support it.
integrateVelocities
void integrateVelocities(float dt)
Undocumented in source. Be warned that the author may not have intended to support it.
resetForces
void resetForces()
Undocumented in source. Be warned that the author may not have intended to support it.
transformation
Matrix4x4f transformation()
Undocumented in source. Be warned that the author may not have intended to support it.
updateInertia
void updateInertia()
Undocumented in source. Be warned that the author may not have intended to support it.
updateShapeComponents
void updateShapeComponents()
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

angularKineticEnergy
float angularKineticEnergy [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
linearKineticEnergy
float linearKineticEnergy [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
worldCenterOfMass
Vector3f worldCenterOfMass [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

active
bool active;
Undocumented in source.
angularAcceleration
Vector3f angularAcceleration;
Undocumented in source.
angularVelocity
Vector3f angularVelocity;
Undocumented in source.
bounce
float bounce;
Undocumented in source.
centerOfMass
Vector3f centerOfMass;
Undocumented in source.
collisionDispatchers
DynamicArray!CollisionDispatcher collisionDispatchers;
Undocumented in source.
damping
float damping;
Undocumented in source.
dynamic
bool dynamic;
Undocumented in source.
enableRotation
bool enableRotation;
Undocumented in source.
forceAccumulator
Vector3f forceAccumulator;
Undocumented in source.
friction
float friction;
Undocumented in source.
gravity
Vector3f gravity;
Undocumented in source.
inertiaTensor
Matrix3x3f inertiaTensor;
Undocumented in source.
invInertiaTensor
Matrix3x3f invInertiaTensor;
Undocumented in source.
invMass
float invMass;
Undocumented in source.
linearAcceleration
Vector3f linearAcceleration;
Undocumented in source.
linearVelocity
Vector3f linearVelocity;
Undocumented in source.
mass
float mass;
Undocumented in source.
maxSpeed
float maxSpeed;
Undocumented in source.
numContacts
uint numContacts;
Undocumented in source.
orientation
Quaternionf orientation;
Undocumented in source.
position
Vector3f position;
Undocumented in source.
pseudoAngularVelocity
Vector3f pseudoAngularVelocity;
Undocumented in source.
pseudoLinearVelocity
Vector3f pseudoLinearVelocity;
Undocumented in source.
raycastable
bool raycastable;
Undocumented in source.
shapes
DynamicArray!ShapeComponent shapes;
Undocumented in source.
stopThreshold
float stopThreshold;
Undocumented in source.
stopThresholdPV
float stopThresholdPV;
Undocumented in source.
torqueAccumulator
Vector3f torqueAccumulator;
Undocumented in source.
useFriction
bool useFriction;
Undocumented in source.
useGravity
bool useGravity;
Undocumented in source.
useOwnGravity
bool useOwnGravity;
Undocumented in source.

Meta