#include
Classes | |
struct | AreaDefinition |
This parameters are only used when type == PE_AREA. More... | |
Public Attributes | |
int | type |
Physicalization type must be one of pe_type enums. | |
int | nSlot |
Index of object slot. -1 if all slots should be used. | |
float | density |
Only one either density or mass must be set, parameter set to 0 is ignored. | |
float | mass |
int | nFlagsAND |
Optional physical flag. | |
int | nFlagsOR |
Optional physical flag. | |
int | nLod |
IPhysicalEntity * | pAttachToEntity |
Physical entity to attach this physics object (Only for Soft physical entity). | |
int | nAttachToPart |
Part ID in entity to attach to (Only for Soft physical entity). | |
float | fStiffnessScale |
Used for character physicalization (Scale of force in character joint's springs). | |
bool | bCopyJointVelocities |
Copy joints velocities when converting a character to ragdoll. | |
struct pe_params_particle * | pParticle |
struct pe_params_buoyancy * | pBuoyancy |
struct pe_player_dimensions * | pPlayerDimensions |
struct pe_player_dynamics * | pPlayerDynamics |
struct pe_params_car * | pCar |
AreaDefinition * | pAreaDef |
When physicalizing with type == PE_AREA this must be a valid pointer to the AreaDefinition structure. | |
const char * | szPropsOverride |
An optional string with text properties overrides for CGF nodes. | |
Parameters used to determine how an entity should be physicalized when IEntity::Physicalize is called
int SEntityPhysicalizeParams::nLod |
When physicalizing geometry can specify to use physics from different LOD. Used for characters that have ragdoll physics in Lod1.