189 void SetMass(
const Ogre::Real& mass);
193 void SetMassMatrix(
const Ogre::Real& mass,
const Ogre::Vector3& inertial);
217 void SetForce(
const Ogre::Vector3& mForce);
221 void SetTorque(
const Ogre::Vector3& mTorque);
225 void SetOmega(
const Ogre::Vector3& omega);
277 void SetPositionOrientation(
const Ogre::Vector3& mDerivedPos,
const Ogre::Quaternion& mDerivedOrientation);
289 void SetScale(
const Ogre::Vector3& mDerivedScale);
293 void SetMatrix(
const Ogre::Vector3& mDerivedPos,
const Ogre::Quaternion& mDerivedOrientation);
309 void AddImpulse(
const Ogre::Vector3& delta,
const Ogre::Vector3& pos);
365 void GetInvMass(Ogre::Real& mass, Ogre::Vector3& inertia);
369 void GetMassMatrix(Ogre::Real& mass, Ogre::Vector3& inertia);
373 void MoveToPosition(
const Ogre::Vector3 &destPos,
const Ogre::Real &stiffness);
389 void SetType(
const int& value);
423 static void _CDECL newtonPerPoly(
void* userData,
int vertexCount,
const float* faceVertec,
int id);
main class for all Rigid Bodies in the system.
Ogre::Vector3 globalForce
void SetScale(const Ogre::Vector3 &mDerivedScale)
void SetType(const int &value)
float GetFluidViscosity()
void AddImpulse(const Ogre::Vector3 &delta, const Ogre::Vector3 &pos)
Ogre::Real rotateStiffness
void SetForce(const Ogre::Vector3 &mForce)
void SetAngularDamping(const Ogre::Vector3 &vec)
void EnableSimulation(const bool &enable)
const std::string GetMaterialName()
Ogre::Vector3 constantForce
void AddConstantForce(const Ogre::Vector3 &mForce)
void SetPositionOrientation(const Ogre::Vector3 &mDerivedPos, const Ogre::Quaternion &mDerivedOrientation)
Ogre::Vector3 GetVelocity()
void ShowDebug(bool state)
Ogre::Real mFluidWaterToVolume
void SetConstantTorque(const Ogre::Vector3 &mTorque)
void SetContinuousCollisionMode(const bool &enable)
void SetGlobalForce(const Ogre::Vector3 &mGlobalForce)
OgreNewt::Body * getOgreNewtBodyPointer()
void AddConstantTorque(const Ogre::Vector3 &mTorque)
void SetLinearDamping(const Ogre::Real &ang)
Ogre::Real mFluidViscosity
Ogre::Vector3 GetGlobalForce()
Ogre::Vector3 globalLocationForce
Ogre::Vector3 destPosition
void SetFluidState(bool state)
Ogre::Vector3 constantTorque
Ogre::ManualObject * mDebugBody
void SetAutoSleep(const bool &enable)
Ogre::Vector3 GetCenterOfMass()
Ogre::Vector3 GetTorque()
void GetMassMatrix(Ogre::Real &mass, Ogre::Vector3 &inertia)
Ogre::Vector3 localLocationForce
Ogre::Vector3 GetConstantForce()
Ogre::Vector3 CalculateBodyOffset()
void SetConstantForce(const Ogre::Vector3 &mForce)
Ogre::Vector3 GetGlobalLocationForce()
void BuoyancyForce(OgreNewt::Body *visitor)
void SetVelocity(const Ogre::Vector3 &velocity)
void SetTorque(const Ogre::Vector3 &mTorque)
Ogre::Quaternion destOrientation
void SetBuoyancyForce(SBody *fluidBody)
bool GetSimulationState()
void MoveToPosition(const Ogre::Vector3 &destPos, const Ogre::Real &stiffness)
void SetLocalForce(const Ogre::Vector3 &mLocalForce)
Ogre::Vector3 GetLocalForce()
const OgreNewt::MaterialID * GetMaterialID()
void UpdatePositionOrientation()
void SetGravityEnable(bool state)
void SetFreezeState(const bool &state)
Ogre::Vector3 GetLocalLocationForce()
void SetUpJoint(const Ogre::Vector3 &vec)
float GetFluidWaterToVolumeRatio()
Ogre::Vector3 GetAngularDamping()
void SetMatrix(const Ogre::Vector3 &mDerivedPos, const Ogre::Quaternion &mDerivedOrientation)
void GetPositionOrientation(Ogre::Vector3 &pos, Ogre::Quaternion &orient)
void SetFluidViscosity(float viscosity)
Ogre::Vector3 GetConstantTorque()
void GetInvMass(Ogre::Real &mass, Ogre::Vector3 &inertia)
bool GetIgnoreCollision()
void BodyUpdateCallback(OgreNewt::Body *body)
void BodyAddForceCallback(OgreNewt::Body *body, float timeStep, int threadIndex)
void SetIgnoreCollision(const bool &state)
Ogre::Real GetLinearDamping()
void SetFluidVolumeRatio(float waterToVolume)
void SetOmega(const Ogre::Vector3 &omega)
void SetCenterOfMass(const Ogre::Vector3 &vec)
void SetGlobalLocationForce(const Ogre::Vector3 &mGlobalLocationForce)
void RotateToOrientation(const Ogre::Quaternion &destQuat, const Ogre::Real &stiffness)
void SetMass(const Ogre::Real &mass)
bool GetContinuousCollisionMode()
void SetMassMatrix(const Ogre::Real &mass, const Ogre::Vector3 &inertial)
const SMaterialID * GetMaterial()
void SetLocalLocationForce(const Ogre::Vector3 &mLocalLocationForce)
void SetMaterialID(SMaterialID *matID)