C# Class CryEngine.PhysicalizationParams

显示文件 Open project: PoppermostProductions/CryMono Class Usage Examples

Public Properties

Property Type Description
attachToPart int
copyJointVelocities bool
density float
flagsAND PhysicalizationFlags
flagsOR PhysicalizationFlags
livingDimensions PlayerDimensionsParameters
livingDynamics PlayerDynamicsParameters
lod int
mass float
particleParameters ParticleParameters
slot int
stiffnessScale float

Public Methods

Method Description
PhysicalizationParams ( PhysicalizationType _type ) : System

Method Details

PhysicalizationParams() public method

public PhysicalizationParams ( PhysicalizationType _type ) : System
_type PhysicalizationType
return System

Property Details

attachToPart public_oe property

Part ID in entity to attach to (Only for Soft physical entity).
public int attachToPart
return int

copyJointVelocities public_oe property

Copy joints velocities when converting a character to ragdoll.
public bool copyJointVelocities
return bool

density public_oe property

Only one either density or mass must be set, parameter set to 0 is ignored.
public float density
return float

flagsAND public_oe property

public PhysicalizationFlags flagsAND
return PhysicalizationFlags

flagsOR public_oe property

public PhysicalizationFlags flagsOR
return PhysicalizationFlags

livingDimensions public_oe property

Player dimensions, only applicable when type is set to PhysicalizationType.Living.
public PlayerDimensionsParameters,CryEngine livingDimensions
return PlayerDimensionsParameters

livingDynamics public_oe property

Player dynamics, only applicable when type is set to PhysicalizationType.Living.
public PlayerDynamicsParameters,CryEngine livingDynamics
return PlayerDynamicsParameters

lod public_oe property

When physicalizing geometry can specify to use physics from different LOD. Used for characters that have ragdoll physics in Lod1
public int lod
return int

mass public_oe property

public float mass
return float

particleParameters public_oe property

Particle parameters, only applicable when type is set to PhysicalizationType.Particle.
public ParticleParameters,CryEngine particleParameters
return ParticleParameters

slot public_oe property

Index of object slot, -1 if all slots should be used.
public int slot
return int

stiffnessScale public_oe property

Used for character physicalization (Scale of force in character joint's springs).
public float stiffnessScale
return float