CryEngine.EntitySystem.PhysicsEntity

CryEngine.EntitySystem.PhysicsEntity

Representation of an Entity in the physics engine More...

Inherits CryEngine.EntitySystem.PhysicsObject.

Public Member Functions

void Physicalize (float mass, PhysicalizationType type)
Physicalize the PhysicsEntity with the specified mass and of the specified type. More...
void Physicalize (float mass, EPhysicalizationType type)
Physicalize the PhysicsEntity with the specified Physicalize parameters. More...
void Physicalize (float mass, int density, EPhysicalizationType type)
Physicalize the PhysicsEntity with the specified Physicalize parameters. More...
void Physicalize (SEntityPhysicalizeParams phys)
Physicalize the PhysicsEntity with the specified Physicalize parameters. More...
void Physicalize ()
Physicalize the PhysicsEntity as a rigid-entity using default values. More...
void Physicalize (EntityPhysicalizeParams parameters)
Physicalize the PhysicsEntity with the specified Physicalize parameters. More...
- Public Member Functions inherited from CryEngine.EntitySystem.PhysicsObject
void SetVelocity (Vector3 velocity)
Set the velocity of this PhysicsObject. More...
void AddImpulse (Vector3 impulse)
Adds an impulse to this PhysicsObject. More...
void AddImpulse (Vector3 impulse, Vector3 point)
Adds an impulse to this PhysicsObject. The impulse will be applied to the point in world-space. More...
void Move (Vector3 direction)
Move this PhysicsObject in a direction. More...
void Jump (Vector3 direction)
Move this PhysicsObject in a direction, but apply the velocity instantly. More...
void Action< T > (Action< T > setParams)
Adds and executes a physics action of type T. More...
T GetStatus< T > ()

Properties

override Entity OwnerEntity [get]
Gets the Entity that this PhysicsEntity belongs to. More...
- Properties inherited from CryEngine.EntitySystem.PhysicsObject
PhysicalizationType PhysicsType = PhysicalizationType.None [get, set]
The physicalized type of this PhysicsObject. If the PhysicsObject is not physicalized this will be PhysicalizationType.None. More...
virtual Entity OwnerEntity [get]
Gets the Entity that this PhysicsObject belongs to. More...
Vector3 Velocity [get, set]
Get or set the velocity of this PhysicsObject. More...
Vector3 AngularVelocity [get, set]
Get or set the angular velocity of this PhysicsObject. More...
Vector3 LinearAcceleration [get]
The acceleration that is currently being applied to this PhysicsObject. More...
Vector3 AngularAcceleration [get]
The angular acceleration that is currently being applied to this PhysicsObject. More...
Vector3 Impulse [set]
Adds an impulse to this PhysicsObject. More...

Additional Inherited Members

- Protected Member Functions inherited from CryEngine.EntitySystem.PhysicsObject
void SetType (pe_type nativeType)
- Protected Attributes inherited from CryEngine.EntitySystem.PhysicsObject
Entity _entity

Detailed Description

Representation of an Entity in the physics engine

Member Function Documentation

◆ Physicalize() [1/6]

void CryEngine.EntitySystem.PhysicsEntity.Physicalize ( float mass,
PhysicalizationType type
)
inline

Physicalize the PhysicsEntity with the specified mass and of the specified type.

Parameters
mass
type

◆ Physicalize() [2/6]

void CryEngine.EntitySystem.PhysicsEntity.Physicalize ( float mass,
EPhysicalizationType type
)
inline

Physicalize the PhysicsEntity with the specified Physicalize parameters.

Parameters
massMass of the entity in Kilograms.
type

◆ Physicalize() [3/6]

void CryEngine.EntitySystem.PhysicsEntity.Physicalize ( float mass,
int density,
EPhysicalizationType type
)
inline

Physicalize the PhysicsEntity with the specified Physicalize parameters.

Parameters
massMass of the entity in Kilograms.
density
type

◆ Physicalize() [4/6]

void CryEngine.EntitySystem.PhysicsEntity.Physicalize ( SEntityPhysicalizeParams phys)
inline

Physicalize the PhysicsEntity with the specified Physicalize parameters.

Parameters
phys

◆ Physicalize() [5/6]

void CryEngine.EntitySystem.PhysicsEntity.Physicalize ( )
inline

Physicalize the PhysicsEntity as a rigid-entity using default values.

◆ Physicalize() [6/6]

void CryEngine.EntitySystem.PhysicsEntity.Physicalize ( EntityPhysicalizeParams parameters)
inline

Physicalize the PhysicsEntity with the specified Physicalize parameters.

Parameters
parameters

Property Documentation

◆ OwnerEntity

override Entity CryEngine.EntitySystem.PhysicsEntity.OwnerEntity
get

Gets the Entity that this PhysicsEntity belongs to.