|
| cPhysicsBodyNewton (const tString &asName, iPhysicsWorld *apWorld, iCollideShape *apShape) |
|
void | SetMaterial (iPhysicsMaterial *apMaterial) |
|
void | SetLinearVelocity (const cVector3f &avVel) |
|
cVector3f | GetLinearVelocity () const |
|
void | SetAngularVelocity (const cVector3f &avVel) |
|
cVector3f | GetAngularVelocity () const |
|
void | SetLinearDamping (float afDamping) |
|
float | GetLinearDamping () const |
|
void | SetAngularDamping (float afDamping) |
|
float | GetAngularDamping () const |
|
void | SetMaxLinearSpeed (float afSpeed) |
|
float | GetMaxLinearSpeed () const |
|
void | SetMaxAngularSpeed (float afDamping) |
|
float | GetMaxAngularSpeed () const |
|
cMatrixf | GetInertiaMatrix () |
|
void | SetMass (float afMass) |
|
float | GetMass () const |
|
void | SetMassCentre (const cVector3f &avCentre) |
|
cVector3f | GetMassCentre () const |
|
void | AddForce (const cVector3f &avForce) |
|
void | AddForceAtPosition (const cVector3f &avForce, const cVector3f &avPos) |
|
void | AddTorque (const cVector3f &avTorque) |
|
void | AddImpulse (const cVector3f &avImpulse) |
|
void | AddImpulseAtPosition (const cVector3f &avImpulse, const cVector3f &avPos) |
|
void | SetEnabled (bool abEnabled) |
|
bool | GetEnabled () const |
|
void | SetAutoDisable (bool abEnabled) |
|
bool | GetAutoDisable () const |
|
void | SetContinuousCollision (bool abOn) |
|
bool | GetContinuousCollision () |
|
void | SetGravity (bool abEnabled) |
|
bool | GetGravity () const |
|
void | RenderDebugGeometry (iLowLevelGraphics *apLowLevel, const cColor &aColor) |
|
NewtonBody * | GetNewtonBody () |
|
void | ClearForces () |
|
void | DeleteLowLevel () |
|
Public Member Functions inherited from hpl::iPhysicsBody |
| iPhysicsBody (const tString &asName, iPhysicsWorld *apWorld, iCollideShape *apShape) |
|
void | Destroy () |
|
iPhysicsMaterial * | GetMaterial () |
|
cNode3D * | GetNode () |
|
cNode3D * | CreateNode () |
|
iCollideShape * | GetShape () |
|
void | AddJoint (iPhysicsJoint *apJoint) |
|
iPhysicsJoint * | GetJoint (int alIndex) |
|
int | GetJointNum () |
|
void | RemoveJoint (iPhysicsJoint *apJoint) |
|
cVector3f | GetVelocityAtPosition (cVector3f avPos) |
|
void | UpdateBeforeSimulate (float afTimeStep) |
|
void | UpdateAfterSimulate (float afTimeStep) |
|
cBoundingVolume * | GetBV () |
|
void | SetBlocksSound (bool abX) |
|
bool | GetBlocksSound () |
|
void | SetBlocksLight (bool abX) |
|
bool | GetBlocksLight () |
|
void | SetScrapeSoundEntity (cSoundEntity *apEntity) |
|
cSoundEntity * | GetScrapeSoundEntity () |
|
void | SetScrapeBody (iPhysicsBody *apBody) |
|
iPhysicsBody * | GetScrapeBody () |
|
const cMatrixf & | GetPreveScrapeMatrix () |
|
void | SetPreveScrapeMatrix (const cMatrixf &a_mtxMtx) |
|
void | SetRollSoundEntity (cSoundEntity *apEntity) |
|
cSoundEntity * | GetRollSoundEntity () |
|
void | SetHasImpact (bool abX) |
|
bool | HasImpact () |
|
void | SetHasSlide (bool abX) |
|
bool | HasSlide () |
|
bool | HasCollision () |
|
void | SetUserData (void *apUserData) |
|
void * | GetUserData () |
|
void | AddBodyCallback (iPhysicsBodyCallback *apCallback) |
|
void | RemoveBodyCallback (iPhysicsBodyCallback *apCallback) |
|
bool | OnBeginCollision (iPhysicsBody *apBody) |
|
void | OnCollide (iPhysicsBody *apBody, cPhysicsContactData *apContactData) |
|
void | SetCollide (bool abX) |
|
bool | GetCollide () |
|
void | SetIsCharacter (bool abX) |
|
bool | IsCharacter () |
|
void | SetCollideCharacter (bool abX) |
|
bool | GetCollideCharacter () |
|
void | SetCharacterBody (iCharacterBody *apCharBody) |
|
iCharacterBody * | GetCharacterBody () |
|
void | SetIsRagDoll (bool abX) |
|
bool | IsRagDoll () |
|
void | SetCollideRagDoll (bool abX) |
|
bool | GetCollideRagDoll () |
|
void | SetVolatile (bool abX) |
|
bool | IsVolatile () |
|
void | SetPushedByCharacterGravity (bool abX) |
|
bool | GetPushedByCharacterGravity () |
|
void | SetBuoyancyId (int alX) |
|
void | SetBuoyancyActive (bool abX) |
|
void | SetBuoyancyDensity (float afX) |
|
void | SetBuoyancyLinearViscosity (float afX) |
|
void | SetBuoyancyAngularViscosity (float afX) |
|
void | SetBuoyancySurface (const cPlanef &aP) |
|
int | GetBuoyancyId () |
|
bool | GetBuoyancyActive () |
|
float | GetBuoyancyDensity () |
|
float | GetBuoyancyLinearViscosity () |
|
float | GetBuoyancyAngularViscosity () |
|
cPlanef | SetBuoyancySurface () |
|
void | SetCanAttachCharacter (bool abX) |
|
bool | GetCanAttachCharacter () |
|
void | AddAttachedCharacter (iCharacterBody *apChar) |
|
void | RemoveAttachedCharacter (iCharacterBody *apChar) |
|
iPhysicsWorld * | GetWorld () |
|
void | DisableAfterSimulation () |
|
tString | GetEntityType () |
|
virtual iSaveData * | CreateSaveData () |
|
virtual void | SaveToSaveData (iSaveData *apSaveData) |
|
virtual void | LoadFromSaveData (iSaveData *apSaveData) |
|
virtual void | SaveDataSetup (cSaveObjectHandler *apSaveObjectHandler, cGame *apGame) |
|
| iEntity3D (tString asName) |
|
cVector3f | GetLocalPosition () |
|
cMatrixf & | GetLocalMatrix () |
|
cVector3f | GetWorldPosition () |
|
cMatrixf & | GetWorldMatrix () |
|
void | SetPosition (const cVector3f &avPos) |
|
void | SetMatrix (const cMatrixf &a_mtxTransform) |
|
void | SetWorldPosition (const cVector3f &avWorldPos) |
|
void | SetWorldMatrix (const cMatrixf &a_mtxWorldTransform) |
|
void | SetTransformUpdated (bool abUpdateCallbacks=true) |
|
bool | GetTransformUpdated () |
|
int | GetTransformUpdateCount () |
|
void | AddCallback (iEntityCallback *apCallback) |
|
void | RemoveCallback (iEntityCallback *apCallback) |
|
void | SetSourceFile (const tString &asFile) |
|
const tString & | GetSourceFile () |
|
virtual cBoundingVolume * | GetBoundingVolume () |
|
void | AddChild (iEntity3D *apEntity) |
|
void | RemoveChild (iEntity3D *apEntity) |
|
bool | IsChild (iEntity3D *apEntity) |
|
iEntity3D * | GetEntityParent () |
|
virtual tRenderContainerDataList * | GetRenderContainerDataList () |
|
int | GetIteratorCount () |
|
void | SetIteratorCount (const int alX) |
|
void | SetCurrentSector (cSector *apSetor) |
|
virtual cSector * | GetCurrentSector () const |
|
bool | IsInSector (cSector *apSector) |
|
int | GetGlobalRenderCount () |
|
void | SetGlobalRenderCount (int alX) |
|
| iEntity (tString asName) |
|
virtual void | UpdateLogic (float afTimeStep) |
|
tString & | GetName () |
|
void | SetName (const tString &asName) |
|
iNode * | GetParent () |
|
void | SetParent (iNode *apNode) |
|
bool | HasParent () |
|
bool | IsActive () |
|
void | SetActive (bool abActive) |
|
virtual bool | IsVisible () |
|
virtual void | SetVisible (bool abVisible) |
|
int | GetSaveObjectId () |
|
void | SetIsSaved (bool abX) |
|
bool | IsSaved () |
|