C# Class CryEngine.Physics.PhysicalEntity

Physical entity present in the physics system.
Show file Open project: PoppermostProductions/CryMono Class Usage Examples

Private Properties

Property Type Description
GetFlags bool
SetFlags bool
TryGet PhysicalEntity

Public Methods

Method Description
AddImpulse ( Vec3 vImpulse, Vec3 angImpulse = null, Vec3 point = null ) : bool
Break ( BreakageParameters breakageParams ) : void
GetSimulationParameters ( PhysicalSimulationParameters &flags ) : bool
SetSimulationParameters ( PhysicalSimulationParameters &flags ) : bool

Protected Methods

Method Description
PhysicalEntity ( ) : System
PhysicalEntity ( IntPtr physEntPtr ) : System

Private Methods

Method Description
GetFlags ( PhysicalFlagsParameters &flags ) : bool
SetFlags ( PhysicalFlagsParameters &flags ) : bool
TryGet ( IntPtr IPhysicalEntityHandle ) : PhysicalEntity

Method Details

AddImpulse() public method

public AddImpulse ( Vec3 vImpulse, Vec3 angImpulse = null, Vec3 point = null ) : bool
vImpulse Vec3
angImpulse Vec3
point Vec3
return bool

Break() public method

public Break ( BreakageParameters breakageParams ) : void
breakageParams BreakageParameters
return void

GetSimulationParameters() public method

public GetSimulationParameters ( PhysicalSimulationParameters &flags ) : bool
flags PhysicalSimulationParameters
return bool

PhysicalEntity() protected method

protected PhysicalEntity ( ) : System
return System

PhysicalEntity() protected method

protected PhysicalEntity ( IntPtr physEntPtr ) : System
physEntPtr System.IntPtr
return System

SetSimulationParameters() public method

public SetSimulationParameters ( PhysicalSimulationParameters &flags ) : bool
flags PhysicalSimulationParameters
return bool