struct pe_params_pos : public pe_params { enum entype { type_id = ePE_params_pos }; Vec3 pos; quaternionf q; float scale; Matrix34 * pMtx3x4; Matrix33 * pMtx3x3; int iSimClass; int bRecalcBounds; bool bEntGridUseOBB; };
physinterface.h
Sets position and orientation of entity
enum entype { type_id = ePE_params_pos };
physinterface.h
bool bEntGridUseOBB;
whether or not to use part OBBs rather than object AABB when registering in the entity grid
int bRecalcBounds;
tells to recompute the bounding boxes
int iSimClass;
see the sim_class enum
Matrix33 * pMtx3x3;
optional orientation via 3x3 matrix
Matrix34 * pMtx3x4;
optional position+orientation
Vec3 pos;
quaternionf q;
float scale;
note that since there's no per-entity scale, it gets 'baked' into individual parts' scales
pe_params_pos();
VALIDATORS_START VALIDATOR(pos);
VALIDATOR(scale);