CryEngine.SoftPhysicalizeParams

CryEngine.SoftPhysicalizeParams

Parameters for Physicalizing a Soft entity. A system of non-rigidly connected vertices that can interact with the environment. A typical usage is cloth objects. More...

Inherits CryEngine.EntityPhysicalizeParams.

Properties

PhysicsEntity AttachToEntity [get, set]
Physical entity to attach this physics object (Only for Soft physical entity). More...
int AttachToPart = -1 [get, set]
Part ID in entity to attach to (Only for Soft physical entity). More...
- Properties inherited from CryEngine.EntityPhysicalizeParams
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 a Soft entity. A system of non-rigidly connected vertices that can interact with the environment. A typical usage is cloth objects.

Property Documentation

◆ AttachToEntity

PhysicsEntity CryEngine.SoftPhysicalizeParams.AttachToEntity
get
set

Physical entity to attach this physics object (Only for Soft physical entity).

◆ AttachToPart

int CryEngine.SoftPhysicalizeParams.AttachToPart = -1
get
set

Part ID in entity to attach to (Only for Soft physical entity).