Om
1.0.0
A universal framework for multimedia simulation
|
A class that stores data about a single constraint contact point. More...
#include <omPhysicsContactConstraint.h>
Public Member Functions | |
Contact () | |
Public Attributes | |
SIMDFloat4 | localPoint1 |
The point of contact in the first object's local space. More... | |
SIMDFloat4 | localPoint2 |
The point of contact in the second object's local space. More... | |
SIMDFloat4 | r1 |
The relative offset of the contact from the first object's center of mass in world space. More... | |
SIMDFloat4 | r2 |
The relative offset of the contact from the second object's center of mass in world space. More... | |
SolverFrame | x |
The binormal solver frame. More... | |
SolverFrame | y |
The tangent solver frame. More... | |
SolverFrame | z |
The normal solver frame. More... | |
Float | accumulatedImpulseX |
The accumulated impulse along the X frame direction. More... | |
Float | accumulatedImpulseY |
The accumulated impulse along the Y frame direction. More... | |
Float | accumulatedImpulseZ |
The accumulated impulse along the Z frame direction. More... | |
Float | accumulatedImpulseZBias |
The accumulated bias impulse along the Z frame direction. More... | |
Float | invJacobianX |
The inverse jacobian along the X frame direction. More... | |
Float | invJacobianY |
The inverse jacobian along the Y frame direction. More... | |
Float | invJacobianZ |
The inverse jacobian along the Z frame direction. More... | |
Float | bounceSpeed |
The target bounce speed along the Z frame direction (due to elasticity). More... | |
Float | biasSpeed |
The target bias speed along the Z frame direction. More... | |
Float | distance |
The distance between the objects in world space at the contact (negative if colliding). More... | |
ContactMaterial | material |
The combined material between the objects at this contact point. More... | |
ContactID | contactID |
The ID of the contact within this contact constraint. More... | |
UInt32 | timestamp |
An integer that keeps track of the frame index when this contact was last updated. More... | |
A class that stores data about a single constraint contact point.
|
inline |
SIMDFloat4 om::physics::constraints::ContactConstraint::Contact::localPoint1 |
The point of contact in the first object's local space.
SIMDFloat4 om::physics::constraints::ContactConstraint::Contact::localPoint2 |
The point of contact in the second object's local space.
SIMDFloat4 om::physics::constraints::ContactConstraint::Contact::r1 |
The relative offset of the contact from the first object's center of mass in world space.
SIMDFloat4 om::physics::constraints::ContactConstraint::Contact::r2 |
The relative offset of the contact from the second object's center of mass in world space.
SolverFrame om::physics::constraints::ContactConstraint::Contact::x |
The binormal solver frame.
SolverFrame om::physics::constraints::ContactConstraint::Contact::y |
The tangent solver frame.
SolverFrame om::physics::constraints::ContactConstraint::Contact::z |
The normal solver frame.
Float om::physics::constraints::ContactConstraint::Contact::accumulatedImpulseX |
The accumulated impulse along the X frame direction.
Float om::physics::constraints::ContactConstraint::Contact::accumulatedImpulseY |
The accumulated impulse along the Y frame direction.
Float om::physics::constraints::ContactConstraint::Contact::accumulatedImpulseZ |
The accumulated impulse along the Z frame direction.
Float om::physics::constraints::ContactConstraint::Contact::accumulatedImpulseZBias |
The accumulated bias impulse along the Z frame direction.
Float om::physics::constraints::ContactConstraint::Contact::invJacobianX |
The inverse jacobian along the X frame direction.
Float om::physics::constraints::ContactConstraint::Contact::invJacobianY |
The inverse jacobian along the Y frame direction.
Float om::physics::constraints::ContactConstraint::Contact::invJacobianZ |
The inverse jacobian along the Z frame direction.
Float om::physics::constraints::ContactConstraint::Contact::bounceSpeed |
The target bounce speed along the Z frame direction (due to elasticity).
Float om::physics::constraints::ContactConstraint::Contact::biasSpeed |
The target bias speed along the Z frame direction.
Float om::physics::constraints::ContactConstraint::Contact::distance |
The distance between the objects in world space at the contact (negative if colliding).
ContactMaterial om::physics::constraints::ContactConstraint::Contact::material |
The combined material between the objects at this contact point.
ContactID om::physics::constraints::ContactConstraint::Contact::contactID |
The ID of the contact within this contact constraint.
UInt32 om::physics::constraints::ContactConstraint::Contact::timestamp |
An integer that keeps track of the frame index when this contact was last updated.