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 |
Representation of an Entity in the physics engine
|
inline |
Physicalize the PhysicsEntity with the specified mass and of the specified type.
| mass | |
| type |
|
inline |
Physicalize the PhysicsEntity with the specified Physicalize parameters.
| mass | Mass of the entity in Kilograms. |
| type |
|
inline |
Physicalize the PhysicsEntity with the specified Physicalize parameters.
| mass | Mass of the entity in Kilograms. |
| density | |
| type |
|
inline |
Physicalize the PhysicsEntity with the specified Physicalize parameters.
| phys |
|
inline |
Physicalize the PhysicsEntity as a rigid-entity using default values.
|
inline |
Physicalize the PhysicsEntity with the specified Physicalize parameters.
| parameters |
|
get |
Gets the Entity that this PhysicsEntity belongs to.