pe_params_pos

C++
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;
};
File

physinterface.h

Description

Sets position and orientation of entity

pe_params_pos::entype Enumeration
C++
enum entype {
  type_id = ePE_params_pos
};
File

physinterface.h

pe_params_pos::bEntGridUseOBB Data Member
C++
bool bEntGridUseOBB;
Description

whether or not to use part OBBs rather than object AABB when registering in the entity grid

pe_params_pos::bRecalcBounds Data Member
C++
int bRecalcBounds;
Description

tells to recompute the bounding boxes

pe_params_pos::iSimClass Data Member
C++
int iSimClass;
Description

see the sim_class enum

pe_params_pos::pMtx3x3 Data Member
C++
Matrix33 * pMtx3x3;
Description

optional orientation via 3x3 matrix

pe_params_pos::pMtx3x4 Data Member
C++
Matrix34 * pMtx3x4;
Description

optional position+orientation

pe_params_pos::pos Data Member
C++
Vec3 pos;
pe_params_pos::q Data Member
C++
quaternionf q;
pe_params_pos::scale Data Member
C++
float scale;
Description

note that since there's no per-entity scale, it gets 'baked' into individual parts' scales

pe_params_pos::pe_params_pos Constructor
C++
pe_params_pos();
pe_params_pos::VALIDATOR Method (pos)
C++
VALIDATORS_START VALIDATOR(pos);
pe_params_pos::VALIDATOR Method (scale)
C++
VALIDATOR(scale);