A class that represents a 3D object with transformation, velocity, and mass.
More...
#include <omPhysicsObjectState.h>
|
| ObjectState () |
| Create a new object state with the default initial state (motionless at the origin). More...
|
|
void | applyForce (const SIMDFloat4 &forceVector) |
| Apply the specified force vector to this object's center of mass. More...
|
|
void | applyForce (const SIMDFloat4 &forceVector, const SIMDFloat4 &point) |
| Apply the specified force vector at a point relative to the object's center of mass. More...
|
|
A class that represents a 3D object with transformation, velocity, and mass.
om::physics::base::ObjectState::ObjectState |
( |
| ) |
|
|
inline |
Create a new object state with the default initial state (motionless at the origin).
void om::physics::base::ObjectState::applyForce |
( |
const SIMDFloat4 & |
forceVector | ) |
|
|
inline |
Apply the specified force vector to this object's center of mass.
void om::physics::base::ObjectState::applyForce |
( |
const SIMDFloat4 & |
forceVector, |
|
|
const SIMDFloat4 & |
point |
|
) |
| |
|
inline |
Apply the specified force vector at a point relative to the object's center of mass.
A pointer to the transform state for this object.
A pointer to the velocity state for this object.
MassState* om::physics::base::ObjectState::mass |
A pointer to the mass state for this object.
The ID of this object within its context.
An value containing boolean configuration flags for this object.
The documentation for this class was generated from the following file: