EventPhysUpdateMesh

Physics mesh changed. More...

#include

Inherits EventPhysMono.

Public Types

enum entype { id = 5, flagsCall = 1, flagsLog = 2 }
enum reason { ReasonExplosion, ReasonFracture, ReasonRequest, ReasonDeform }

Public Attributes

int partid
int bInvalid
int iReason
see enum reason
IGeometry * pMesh
->GetForeignData(DATA_MESHUPDATE) returns a list of bop_meshupdates
bop_meshupdate * pLastUpdate
the last mesh update for at moment when the event was generated
Matrix34f mtxSkelToMesh
skeleton's frame -> mesh's frame transform
IGeometry * pMeshSkel
for deformable bodies
int idx
used for event deferring by listeners
- Public Attributes inherited from EventPhysMono
IPhysicalEntity * pEntity
void * pForeignData
int iForeignData
- Public Attributes inherited from EventPhys
EventPhys * next
int idval

Detailed Description

Physics mesh changed.