doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
idPhysics_Base Class Reference

#include <Physics_Base.h>

Inheritance diagram for idPhysics_Base:
idPhysics idClass idPhysics_Actor idPhysics_AF idPhysics_Parametric idPhysics_RigidBody idPhysics_Monster idPhysics_Player

Public Member Functions

 CLASS_PROTOTYPE (idPhysics_Base)
 
 idPhysics_Base (void)
 
 ~idPhysics_Base (void)
 
void Save (idSaveGame *savefile) const
 
void Restore (idRestoreGame *savefile)
 
void SetSelf (idEntity *e)
 
void SetClipModel (idClipModel *model, float density, int id=0, bool freeOld=true)
 
idClipModelGetClipModel (int id=0) const
 
int GetNumClipModels (void) const
 
void SetMass (float mass, int id=-1)
 
float GetMass (int id=-1) const
 
void SetContents (int contents, int id=-1)
 
int GetContents (int id=-1) const
 
void SetClipMask (int mask, int id=-1)
 
int GetClipMask (int id=-1) const
 
const idBoundsGetBounds (int id=-1) const
 
const idBoundsGetAbsBounds (int id=-1) const
 
bool Evaluate (int timeStepMSec, int endTimeMSec)
 
void UpdateTime (int endTimeMSec)
 
int GetTime (void) const
 
void GetImpactInfo (const int id, const idVec3 &point, impactInfo_t *info) const
 
void ApplyImpulse (const int id, const idVec3 &point, const idVec3 &impulse)
 
void AddForce (const int id, const idVec3 &point, const idVec3 &force)
 
void Activate (void)
 
void PutToRest (void)
 
bool IsAtRest (void) const
 
int GetRestStartTime (void) const
 
bool IsPushable (void) const
 
void SaveState (void)
 
void RestoreState (void)
 
void SetOrigin (const idVec3 &newOrigin, int id=-1)
 
void SetAxis (const idMat3 &newAxis, int id=-1)
 
void Translate (const idVec3 &translation, int id=-1)
 
void Rotate (const idRotation &rotation, int id=-1)
 
const idVec3GetOrigin (int id=0) const
 
const idMat3GetAxis (int id=0) const
 
void SetLinearVelocity (const idVec3 &newLinearVelocity, int id=0)
 
void SetAngularVelocity (const idVec3 &newAngularVelocity, int id=0)
 
const idVec3GetLinearVelocity (int id=0) const
 
const idVec3GetAngularVelocity (int id=0) const
 
void SetGravity (const idVec3 &newGravity)
 
const idVec3GetGravity (void) const
 
const idVec3GetGravityNormal (void) const
 
void ClipTranslation (trace_t &results, const idVec3 &translation, const idClipModel *model) const
 
void ClipRotation (trace_t &results, const idRotation &rotation, const idClipModel *model) const
 
int ClipContents (const idClipModel *model) const
 
void DisableClip (void)
 
void EnableClip (void)
 
void UnlinkClip (void)
 
void LinkClip (void)
 
bool EvaluateContacts (void)
 
int GetNumContacts (void) const
 
const contactInfo_tGetContact (int num) const
 
void ClearContacts (void)
 
void AddContactEntity (idEntity *e)
 
void RemoveContactEntity (idEntity *e)
 
bool HasGroundContacts (void) const
 
bool IsGroundEntity (int entityNum) const
 
bool IsGroundClipModel (int entityNum, int id) const
 
void SetPushed (int deltaTime)
 
const idVec3GetPushedLinearVelocity (const int id=0) const
 
const idVec3GetPushedAngularVelocity (const int id=0) const
 
void SetMaster (idEntity *master, const bool orientated=true)
 
const trace_tGetBlockingInfo (void) const
 
idEntityGetBlockingEntity (void) const
 
int GetLinearEndTime (void) const
 
int GetAngularEndTime (void) const
 
void WriteToSnapshot (idBitMsgDelta &msg) const
 
void ReadFromSnapshot (const idBitMsgDelta &msg)
 
- Public Member Functions inherited from idPhysics
 ABSTRACT_PROTOTYPE (idPhysics)
 
virtual ~idPhysics (void)
 
void Save (idSaveGame *savefile) const
 
void Restore (idRestoreGame *savefile)
 
virtual void SetClipBox (const idBounds &bounds, float density)
 
- Public Member Functions inherited from idClass
 ABSTRACT_PROTOTYPE (idClass)
 
voidoperator new (size_t)
 
voidoperator new (size_t s, int, int, char *, int)
 
void operator delete (void *)
 
void operator delete (void *, int, int, char *, int)
 
virtual ~idClass ()
 
void Spawn (void)
 
void CallSpawn (void)
 
bool IsType (const idTypeInfo &c) const
 
const char * GetClassname (void) const
 
const char * GetSuperclass (void) const
 
void FindUninitializedMemory (void)
 
void Save (idSaveGame *savefile) const
 
void Restore (idRestoreGame *savefile)
 
bool RespondsTo (const idEventDef &ev) const
 
bool PostEventMS (const idEventDef *ev, int time)
 
bool PostEventMS (const idEventDef *ev, int time, idEventArg arg1)
 
bool PostEventMS (const idEventDef *ev, int time, idEventArg arg1, idEventArg arg2)
 
bool PostEventMS (const idEventDef *ev, int time, idEventArg arg1, idEventArg arg2, idEventArg arg3)
 
bool PostEventMS (const idEventDef *ev, int time, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4)
 
bool PostEventMS (const idEventDef *ev, int time, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4, idEventArg arg5)
 
bool PostEventMS (const idEventDef *ev, int time, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4, idEventArg arg5, idEventArg arg6)
 
bool PostEventMS (const idEventDef *ev, int time, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4, idEventArg arg5, idEventArg arg6, idEventArg arg7)
 
bool PostEventMS (const idEventDef *ev, int time, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4, idEventArg arg5, idEventArg arg6, idEventArg arg7, idEventArg arg8)
 
bool PostEventSec (const idEventDef *ev, float time)
 
bool PostEventSec (const idEventDef *ev, float time, idEventArg arg1)
 
bool PostEventSec (const idEventDef *ev, float time, idEventArg arg1, idEventArg arg2)
 
bool PostEventSec (const idEventDef *ev, float time, idEventArg arg1, idEventArg arg2, idEventArg arg3)
 
bool PostEventSec (const idEventDef *ev, float time, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4)
 
bool PostEventSec (const idEventDef *ev, float time, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4, idEventArg arg5)
 
bool PostEventSec (const idEventDef *ev, float time, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4, idEventArg arg5, idEventArg arg6)
 
bool PostEventSec (const idEventDef *ev, float time, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4, idEventArg arg5, idEventArg arg6, idEventArg arg7)
 
bool PostEventSec (const idEventDef *ev, float time, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4, idEventArg arg5, idEventArg arg6, idEventArg arg7, idEventArg arg8)
 
bool ProcessEvent (const idEventDef *ev)
 
bool ProcessEvent (const idEventDef *ev, idEventArg arg1)
 
bool ProcessEvent (const idEventDef *ev, idEventArg arg1, idEventArg arg2)
 
bool ProcessEvent (const idEventDef *ev, idEventArg arg1, idEventArg arg2, idEventArg arg3)
 
bool ProcessEvent (const idEventDef *ev, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4)
 
bool ProcessEvent (const idEventDef *ev, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4, idEventArg arg5)
 
bool ProcessEvent (const idEventDef *ev, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4, idEventArg arg5, idEventArg arg6)
 
bool ProcessEvent (const idEventDef *ev, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4, idEventArg arg5, idEventArg arg6, idEventArg arg7)
 
bool ProcessEvent (const idEventDef *ev, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4, idEventArg arg5, idEventArg arg6, idEventArg arg7, idEventArg arg8)
 
bool ProcessEventArgPtr (const idEventDef *ev, int *data)
 
void CancelEvents (const idEventDef *ev)
 
void Event_Remove (void)
 

Protected Member Functions

void AddGroundContacts (const idClipModel *clipModel)
 
void AddContactEntitiesForContacts (void)
 
void ActivateContactEntities (void)
 
bool IsOutsideWorld (void) const
 
void DrawVelocity (int id, float linearScale, float angularScale) const
 

Protected Attributes

idEntityself
 
int clipMask
 
idVec3 gravityVector
 
idVec3 gravityNormal
 
idList< contactInfo_tcontacts
 
idList< contactEntity_tcontactEntities
 

Additional Inherited Members

- Static Public Member Functions inherited from idPhysics
static int SnapTimeToPhysicsFrame (int t)
 
- Static Public Member Functions inherited from idClass
static void Init (void)
 
static void Shutdown (void)
 
static idTypeInfoGetClass (const char *name)
 
static void DisplayInfo_f (const idCmdArgs &args)
 
static void ListClasses_f (const idCmdArgs &args)
 
static idClassCreateInstance (const char *name)
 
static int GetNumTypes (void)
 
static int GetTypeNumBits (void)
 
static idTypeInfoGetType (int num)
 

Detailed Description

Definition at line 42 of file Physics_Base.h.

Constructor & Destructor Documentation

END_CLASS idPhysics_Base::idPhysics_Base ( void  )

Definition at line 42 of file Physics_Base.cpp.

idPhysics_Base::~idPhysics_Base ( void  )

Definition at line 54 of file Physics_Base.cpp.

Member Function Documentation

void idPhysics_Base::Activate ( void  )
virtual

Implements idPhysics.

Reimplemented in idPhysics_Parametric, idPhysics_RigidBody, and idPhysics_Monster.

Definition at line 274 of file Physics_Base.cpp.

void idPhysics_Base::ActivateContactEntities ( void  )
protected

Definition at line 750 of file Physics_Base.cpp.

void idPhysics_Base::AddContactEntitiesForContacts ( void  )
protected

Definition at line 733 of file Physics_Base.cpp.

void idPhysics_Base::AddContactEntity ( idEntity e)
virtual

Implements idPhysics.

Definition at line 550 of file Physics_Base.cpp.

void idPhysics_Base::AddForce ( const int  id,
const idVec3 point,
const idVec3 force 
)
virtual

Implements idPhysics.

Reimplemented in idPhysics_RigidBody.

Definition at line 266 of file Physics_Base.cpp.

void idPhysics_Base::AddGroundContacts ( const idClipModel clipModel)
protected

Definition at line 714 of file Physics_Base.cpp.

void idPhysics_Base::ApplyImpulse ( const int  id,
const idVec3 point,
const idVec3 impulse 
)
virtual

Implements idPhysics.

Reimplemented in idPhysics_RigidBody, idPhysics_Player, and idPhysics_Monster.

Definition at line 258 of file Physics_Base.cpp.

idPhysics_Base::CLASS_PROTOTYPE ( idPhysics_Base  )
void idPhysics_Base::ClearContacts ( void  )
virtual

Implements idPhysics.

Definition at line 532 of file Physics_Base.cpp.

int idPhysics_Base::ClipContents ( const idClipModel model) const
virtual

Implements idPhysics.

Reimplemented in idPhysics_RigidBody.

Definition at line 464 of file Physics_Base.cpp.

void idPhysics_Base::ClipRotation ( trace_t results,
const idRotation rotation,
const idClipModel model 
) const
virtual

Implements idPhysics.

Reimplemented in idPhysics_RigidBody.

Definition at line 455 of file Physics_Base.cpp.

void idPhysics_Base::ClipTranslation ( trace_t results,
const idVec3 translation,
const idClipModel model 
) const
virtual

Implements idPhysics.

Reimplemented in idPhysics_RigidBody.

Definition at line 446 of file Physics_Base.cpp.

void idPhysics_Base::DisableClip ( void  )
virtual

Implements idPhysics.

Reimplemented in idPhysics_RigidBody, and idPhysics_Parametric.

Definition at line 473 of file Physics_Base.cpp.

void idPhysics_Base::DrawVelocity ( int  id,
float  linearScale,
float  angularScale 
) const
protected

Definition at line 781 of file Physics_Base.cpp.

void idPhysics_Base::EnableClip ( void  )
virtual

Implements idPhysics.

Reimplemented in idPhysics_RigidBody, and idPhysics_Parametric.

Definition at line 481 of file Physics_Base.cpp.

bool idPhysics_Base::Evaluate ( int  timeStepMSec,
int  endTimeMSec 
)
virtual

Implements idPhysics.

Reimplemented in idPhysics_Parametric, idPhysics_RigidBody, idPhysics_Player, and idPhysics_Monster.

Definition at line 223 of file Physics_Base.cpp.

bool idPhysics_Base::EvaluateContacts ( void  )
virtual

Implements idPhysics.

Reimplemented in idPhysics_RigidBody.

Definition at line 505 of file Physics_Base.cpp.

const idBounds & idPhysics_Base::GetAbsBounds ( int  id = -1) const
virtual

Implements idPhysics.

Reimplemented in idPhysics_Parametric, and idPhysics_RigidBody.

Definition at line 214 of file Physics_Base.cpp.

int idPhysics_Base::GetAngularEndTime ( void  ) const
virtual

Implements idPhysics.

Reimplemented in idPhysics_Parametric.

Definition at line 705 of file Physics_Base.cpp.

const idVec3 & idPhysics_Base::GetAngularVelocity ( int  id = 0) const
virtual

Implements idPhysics.

Reimplemented in idPhysics_Parametric, and idPhysics_RigidBody.

Definition at line 408 of file Physics_Base.cpp.

const idMat3 & idPhysics_Base::GetAxis ( int  id = 0) const
virtual

Implements idPhysics.

Reimplemented in idPhysics_Parametric, and idPhysics_RigidBody.

Definition at line 374 of file Physics_Base.cpp.

idEntity * idPhysics_Base::GetBlockingEntity ( void  ) const
virtual

Implements idPhysics.

Reimplemented in idPhysics_Parametric.

Definition at line 687 of file Physics_Base.cpp.

const trace_t * idPhysics_Base::GetBlockingInfo ( void  ) const
virtual

Implements idPhysics.

Reimplemented in idPhysics_Parametric.

Definition at line 678 of file Physics_Base.cpp.

const idBounds & idPhysics_Base::GetBounds ( int  id = -1) const
virtual

Implements idPhysics.

Reimplemented in idPhysics_Parametric, and idPhysics_RigidBody.

Definition at line 205 of file Physics_Base.cpp.

int idPhysics_Base::GetClipMask ( int  id = -1) const
virtual

Implements idPhysics.

Definition at line 196 of file Physics_Base.cpp.

idClipModel * idPhysics_Base::GetClipModel ( int  id = 0) const
virtual

Implements idPhysics.

Reimplemented in idPhysics_Parametric, and idPhysics_RigidBody.

Definition at line 135 of file Physics_Base.cpp.

const contactInfo_t & idPhysics_Base::GetContact ( int  num) const
virtual

Implements idPhysics.

Definition at line 523 of file Physics_Base.cpp.

int idPhysics_Base::GetContents ( int  id = -1) const
virtual

Implements idPhysics.

Reimplemented in idPhysics_Parametric, and idPhysics_RigidBody.

Definition at line 178 of file Physics_Base.cpp.

const idVec3 & idPhysics_Base::GetGravity ( void  ) const
virtual

Implements idPhysics.

Definition at line 428 of file Physics_Base.cpp.

const idVec3 & idPhysics_Base::GetGravityNormal ( void  ) const
virtual

Implements idPhysics.

Definition at line 437 of file Physics_Base.cpp.

void idPhysics_Base::GetImpactInfo ( const int  id,
const idVec3 point,
impactInfo_t info 
) const
virtual

Implements idPhysics.

Reimplemented in idPhysics_RigidBody, idPhysics_Player, and idPhysics_Monster.

Definition at line 249 of file Physics_Base.cpp.

int idPhysics_Base::GetLinearEndTime ( void  ) const
virtual

Implements idPhysics.

Reimplemented in idPhysics_Parametric.

Definition at line 696 of file Physics_Base.cpp.

const idVec3 & idPhysics_Base::GetLinearVelocity ( int  id = 0) const
virtual

Implements idPhysics.

Reimplemented in idPhysics_Parametric, idPhysics_RigidBody, idPhysics_Player, and idPhysics_Monster.

Definition at line 399 of file Physics_Base.cpp.

float idPhysics_Base::GetMass ( int  id = -1) const
virtual

Implements idPhysics.

Reimplemented in idPhysics_Parametric, and idPhysics_RigidBody.

Definition at line 161 of file Physics_Base.cpp.

int idPhysics_Base::GetNumClipModels ( void  ) const
virtual

Implements idPhysics.

Reimplemented in idPhysics_Parametric, and idPhysics_RigidBody.

Definition at line 144 of file Physics_Base.cpp.

int idPhysics_Base::GetNumContacts ( void  ) const
virtual

Implements idPhysics.

Definition at line 514 of file Physics_Base.cpp.

const idVec3 & idPhysics_Base::GetOrigin ( int  id = 0) const
virtual

Implements idPhysics.

Reimplemented in idPhysics_Parametric, and idPhysics_RigidBody.

Definition at line 365 of file Physics_Base.cpp.

const idVec3 & idPhysics_Base::GetPushedAngularVelocity ( const int  id = 0) const
virtual

Implements idPhysics.

Reimplemented in idPhysics_RigidBody.

Definition at line 661 of file Physics_Base.cpp.

const idVec3 & idPhysics_Base::GetPushedLinearVelocity ( const int  id = 0) const
virtual

Implements idPhysics.

Reimplemented in idPhysics_RigidBody, idPhysics_Player, and idPhysics_Monster.

Definition at line 652 of file Physics_Base.cpp.

int idPhysics_Base::GetRestStartTime ( void  ) const
virtual

Implements idPhysics.

Reimplemented in idPhysics_Parametric, idPhysics_RigidBody, idPhysics_Player, and idPhysics_Monster.

Definition at line 299 of file Physics_Base.cpp.

int idPhysics_Base::GetTime ( void  ) const
virtual

Implements idPhysics.

Reimplemented in idPhysics_Parametric, idPhysics_RigidBody, idPhysics_Player, and idPhysics_Monster.

Definition at line 240 of file Physics_Base.cpp.

bool idPhysics_Base::HasGroundContacts ( void  ) const
virtual

Implements idPhysics.

Definition at line 596 of file Physics_Base.cpp.

bool idPhysics_Base::IsAtRest ( void  ) const
virtual

Implements idPhysics.

Reimplemented in idPhysics_Parametric, idPhysics_RigidBody, idPhysics_Player, and idPhysics_Monster.

Definition at line 290 of file Physics_Base.cpp.

bool idPhysics_Base::IsGroundClipModel ( int  entityNum,
int  id 
) const
virtual

Implements idPhysics.

Definition at line 628 of file Physics_Base.cpp.

bool idPhysics_Base::IsGroundEntity ( int  entityNum) const
virtual

Implements idPhysics.

Definition at line 612 of file Physics_Base.cpp.

bool idPhysics_Base::IsOutsideWorld ( void  ) const
protected

Definition at line 769 of file Physics_Base.cpp.

bool idPhysics_Base::IsPushable ( void  ) const
virtual

Implements idPhysics.

Reimplemented in idPhysics_Parametric, and idPhysics_RigidBody.

Definition at line 308 of file Physics_Base.cpp.

void idPhysics_Base::LinkClip ( void  )
virtual

Implements idPhysics.

Reimplemented in idPhysics_RigidBody, and idPhysics_Parametric.

Definition at line 497 of file Physics_Base.cpp.

void idPhysics_Base::PutToRest ( void  )
virtual

Implements idPhysics.

Reimplemented in idPhysics_RigidBody, and idPhysics_Monster.

Definition at line 282 of file Physics_Base.cpp.

void idPhysics_Base::ReadFromSnapshot ( const idBitMsgDelta msg)
virtual

Implements idPhysics.

Reimplemented in idPhysics_RigidBody, idPhysics_Parametric, idPhysics_Player, and idPhysics_Monster.

Definition at line 836 of file Physics_Base.cpp.

void idPhysics_Base::RemoveContactEntity ( idEntity e)
virtual

Implements idPhysics.

Definition at line 574 of file Physics_Base.cpp.

void idPhysics_Base::Restore ( idRestoreGame savefile)

Definition at line 91 of file Physics_Base.cpp.

void idPhysics_Base::RestoreState ( void  )
virtual

Implements idPhysics.

Reimplemented in idPhysics_Parametric, idPhysics_RigidBody, idPhysics_Player, and idPhysics_Monster.

Definition at line 325 of file Physics_Base.cpp.

void idPhysics_Base::Rotate ( const idRotation rotation,
int  id = -1 
)
virtual

Implements idPhysics.

Reimplemented in idPhysics_Parametric, idPhysics_RigidBody, idPhysics_Player, and idPhysics_Monster.

Definition at line 357 of file Physics_Base.cpp.

void idPhysics_Base::Save ( idSaveGame savefile) const

Definition at line 67 of file Physics_Base.cpp.

void idPhysics_Base::SaveState ( void  )
virtual

Implements idPhysics.

Reimplemented in idPhysics_Parametric, idPhysics_RigidBody, idPhysics_Player, and idPhysics_Monster.

Definition at line 317 of file Physics_Base.cpp.

void idPhysics_Base::SetAngularVelocity ( const idVec3 newAngularVelocity,
int  id = 0 
)
virtual

Implements idPhysics.

Reimplemented in idPhysics_Parametric, and idPhysics_RigidBody.

Definition at line 391 of file Physics_Base.cpp.

void idPhysics_Base::SetAxis ( const idMat3 newAxis,
int  id = -1 
)
virtual

Implements idPhysics.

Reimplemented in idPhysics_Parametric, idPhysics_RigidBody, idPhysics_Player, and idPhysics_Monster.

Definition at line 341 of file Physics_Base.cpp.

void idPhysics_Base::SetClipMask ( int  mask,
int  id = -1 
)
virtual

Implements idPhysics.

Definition at line 187 of file Physics_Base.cpp.

void idPhysics_Base::SetClipModel ( idClipModel model,
float  density,
int  id = 0,
bool  freeOld = true 
)
virtual

Implements idPhysics.

Reimplemented in idPhysics_Parametric, and idPhysics_RigidBody.

Definition at line 127 of file Physics_Base.cpp.

void idPhysics_Base::SetContents ( int  contents,
int  id = -1 
)
virtual

Implements idPhysics.

Reimplemented in idPhysics_Parametric, and idPhysics_RigidBody.

Definition at line 170 of file Physics_Base.cpp.

void idPhysics_Base::SetGravity ( const idVec3 newGravity)
virtual

Implements idPhysics.

Definition at line 417 of file Physics_Base.cpp.

void idPhysics_Base::SetLinearVelocity ( const idVec3 newLinearVelocity,
int  id = 0 
)
virtual

Implements idPhysics.

Reimplemented in idPhysics_Parametric, idPhysics_RigidBody, idPhysics_Player, and idPhysics_Monster.

Definition at line 383 of file Physics_Base.cpp.

void idPhysics_Base::SetMass ( float  mass,
int  id = -1 
)
virtual

Implements idPhysics.

Reimplemented in idPhysics_Parametric, and idPhysics_RigidBody.

Definition at line 153 of file Physics_Base.cpp.

void idPhysics_Base::SetMaster ( idEntity master,
const bool  orientated = true 
)
virtual

Implements idPhysics.

Reimplemented in idPhysics_RigidBody, idPhysics_Parametric, idPhysics_Player, and idPhysics_Monster.

Definition at line 670 of file Physics_Base.cpp.

void idPhysics_Base::SetOrigin ( const idVec3 newOrigin,
int  id = -1 
)
virtual

Implements idPhysics.

Reimplemented in idPhysics_Parametric, idPhysics_RigidBody, idPhysics_Player, and idPhysics_Monster.

Definition at line 333 of file Physics_Base.cpp.

void idPhysics_Base::SetPushed ( int  deltaTime)
virtual

Implements idPhysics.

Reimplemented in idPhysics_RigidBody, idPhysics_Player, and idPhysics_Monster.

Definition at line 644 of file Physics_Base.cpp.

void idPhysics_Base::SetSelf ( idEntity e)
virtual

Implements idPhysics.

Definition at line 117 of file Physics_Base.cpp.

void idPhysics_Base::Translate ( const idVec3 translation,
int  id = -1 
)
virtual

Implements idPhysics.

Reimplemented in idPhysics_Parametric, idPhysics_RigidBody, idPhysics_Player, and idPhysics_Monster.

Definition at line 349 of file Physics_Base.cpp.

void idPhysics_Base::UnlinkClip ( void  )
virtual

Implements idPhysics.

Reimplemented in idPhysics_RigidBody, and idPhysics_Parametric.

Definition at line 489 of file Physics_Base.cpp.

void idPhysics_Base::UpdateTime ( int  endTimeMSec)
virtual

Implements idPhysics.

Reimplemented in idPhysics_Parametric, idPhysics_RigidBody, idPhysics_Player, and idPhysics_Monster.

Definition at line 232 of file Physics_Base.cpp.

void idPhysics_Base::WriteToSnapshot ( idBitMsgDelta msg) const
virtual

Implements idPhysics.

Reimplemented in idPhysics_RigidBody, idPhysics_Parametric, idPhysics_Player, and idPhysics_Monster.

Definition at line 828 of file Physics_Base.cpp.

Member Data Documentation

int idPhysics_Base::clipMask
protected

Definition at line 146 of file Physics_Base.h.

idList<contactEntity_t> idPhysics_Base::contactEntities
protected

Definition at line 150 of file Physics_Base.h.

idList<contactInfo_t> idPhysics_Base::contacts
protected

Definition at line 149 of file Physics_Base.h.

idVec3 idPhysics_Base::gravityNormal
protected

Definition at line 148 of file Physics_Base.h.

idVec3 idPhysics_Base::gravityVector
protected

Definition at line 147 of file Physics_Base.h.

idEntity* idPhysics_Base::self
protected

Definition at line 145 of file Physics_Base.h.


The documentation for this class was generated from the following files: