CryEngine.EntityPhysicalizeParams

CryEngine.EntityPhysicalizeParams

Parameters for Physicalizing an entity with the type set to None. More...

Inherited by CryEngine.AreaPhysicalizeParams, CryEngine.LivingPhysicalizeParams, CryEngine.ParticlePhysicalizeParams, CryEngine.RigidPhysicalizeParams, CryEngine.RopePhysicalizeParams, CryEngine.SoftPhysicalizeParams, and CryEngine.StaticPhysicalizeParams.

Properties

PhysicsEntityFlags Flags [get, set]
int Slot = -1 [get, set]
Index of the object slot. -1 if all slots should be used. More...
float Density = -1 [get, set]
The density of the entity. Only one either Density or Mass must be set. The parameter that is set to 0 is ignored. More...
float Mass = -1 [get, set]
The mass of the entity in Kilograms. Only one either Density or Mass must be set. The parameter that is set to 0 is ignored. More...
int FlagsAND = -1 [get, set]
Optional physical flag. More...
int FlagsOR [get, set]
Optional physical flag. More...
string PropertyOverrides [get, set]
An optional string with text properties overrides for CGF nodes. More...

Detailed Description

Parameters for Physicalizing an entity with the type set to None.

Property Documentation

◆ Density

float CryEngine.EntityPhysicalizeParams.Density = -1
get
set

The density of the entity. Only one either Density or Mass must be set. The parameter that is set to 0 is ignored.

◆ Flags

PhysicsEntityFlags CryEngine.EntityPhysicalizeParams.Flags
get
set

◆ FlagsAND

int CryEngine.EntityPhysicalizeParams.FlagsAND = -1
get
set

Optional physical flag.

◆ FlagsOR

int CryEngine.EntityPhysicalizeParams.FlagsOR
get
set

Optional physical flag.

◆ Mass

float CryEngine.EntityPhysicalizeParams.Mass = -1
get
set

The mass of the entity in Kilograms. Only one either Density or Mass must be set. The parameter that is set to 0 is ignored.

◆ PropertyOverrides

string CryEngine.EntityPhysicalizeParams.PropertyOverrides
get
set

An optional string with text properties overrides for CGF nodes.

◆ Slot

int CryEngine.EntityPhysicalizeParams.Slot = -1
get
set

Index of the object slot. -1 if all slots should be used.