7 #include "RbMaterialType.h"
60 CStdFPoint Physics_GetCurrentPosition();
70 virtual void Initialize() {};
71 virtual bool Physics_IsDefined();
72 virtual bool Physics_IsGeometryDefined();
73 virtual void Physics_ResetSimulation();
74 virtual void Physics_EnableCollision(RigidBody *lpBody);
75 virtual void Physics_DisableCollision(RigidBody *lpBody);
76 virtual void Physics_CollectData();
77 virtual void Physics_CollectExtraData();
78 virtual void Physics_SetFreeze(
bool bVal);
79 virtual void Physics_SetMass(
float fltVal);
80 virtual void Physics_SetMaterialID(std::string strID);
81 virtual void Physics_SetVelocityDamping(
float fltLinear,
float fltAngular);
82 virtual void Physics_SetCenterOfMass(
float fltTx,
float fltTy,
float fltTz);
83 virtual void Physics_UpdateNode();
84 virtual void Physics_FluidDataChanged();
85 virtual void Physics_WakeDynamics();
86 virtual void Physics_ContactSensorAdded(ContactSensor *lpSensor);
87 virtual void Physics_ContactSensorRemoved();
88 virtual void Physics_ChildBodyAdded(RigidBody *lpChild);
89 virtual void Physics_ChildBodyRemoved(
bool bHasStaticJoint);
91 virtual void Physics_AddBodyForceAtLocalPos(
float fltPx,
float fltPy,
float fltPz,
float fltFx,
float fltFy,
float fltFz,
bool bScaleUnits);
92 virtual void Physics_AddBodyForceAtWorldPos(
float fltPx,
float fltPy,
float fltPz,
float fltFx,
float fltFy,
float fltFz,
bool bScaleUnits);
93 virtual void Physics_AddBodyTorque(
float fltTx,
float fltTy,
float fltTz,
bool bScaleUnits);
94 virtual CStdFPoint Physics_GetVelocityAtPoint(
float x,
float y,
float z);
95 virtual float Physics_GetMass();
96 virtual float Physics_GetDensity();
97 virtual bool Physics_HasCollisionGeometry();
98 virtual void Physics_StepHydrodynamicSimulation();
99 virtual float *Physics_GetDataPointer(
const std::string &strDataType);
101 friend class RbJoint;
A common class for all rigid body data specific to vortex.
RbMaterialType * m_lpMaterial
The pointer to the material for this body.
Classes for implementing the cm-labs vortex physics engine for AnimatLab.