Om
1.0.0
A universal framework for multimedia simulation
|
An object that stores information about a constraint in a physics context. More...
#include <omPhysicsContext.h>
Public Member Functions | |
ConstraintInfo (PhysicsObjectID newObject1, PhysicsObjectID newObject2, Constraint *newConstraint, UInt32 newUserID) | |
Create a new constraint info object for the specified pair of objects and constraint pointer. More... | |
Public Attributes | |
PhysicsObjectID | object1 |
The ID of the first object that is affected by the constraint. More... | |
PhysicsObjectID | object2 |
The ID of the second object that is affected by the constraint. More... | |
Constraint * | constraint |
A pointer to the constraint that this constraint info is for. More... | |
UInt32 | userID |
The user ID for the constraint, used to identify it. More... | |
An object that stores information about a constraint in a physics context.
|
inline |
Create a new constraint info object for the specified pair of objects and constraint pointer.
PhysicsObjectID om::physics::context::PhysicsContext::ConstraintInfo::object1 |
The ID of the first object that is affected by the constraint.
PhysicsObjectID om::physics::context::PhysicsContext::ConstraintInfo::object2 |
The ID of the second object that is affected by the constraint.
Constraint* om::physics::context::PhysicsContext::ConstraintInfo::constraint |
A pointer to the constraint that this constraint info is for.
UInt32 om::physics::context::PhysicsContext::ConstraintInfo::userID |
The user ID for the constraint, used to identify it.