Representation of an object in the physics engine More...
Inherited by CryEngine.EntitySystem.PhysicsEntity.
Public Member Functions | |
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 > () |
Protected Member Functions | |
void | SetType (pe_type nativeType) |
Properties | |
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... | |
Representation of an object in the physics engine
|
inline |
Adds and executes a physics action of type T.
T |
setParams | Sets the parameters of the action to be performed. |
T | : | pe_action |
|
inline |
Adds an impulse to this PhysicsObject.
impulse | Direction and length of the impulse. |
Adds an impulse to this PhysicsObject. The impulse will be applied to the point in world-space.
impulse | Direction and length of the impulse. |
point | Point of application, in world-space. |
|
inline |
T | : | BasePhysicsStatus | |
T | : | new() |
|
inline |
Move this PhysicsObject in a direction, but apply the velocity instantly.
direction |
|
inline |
Move this PhysicsObject in a direction.
direction |
|
inline protected |
|
inline |
Set the velocity of this PhysicsObject.
velocity |
|
protected |
|
get |
The angular acceleration that is currently being applied to this PhysicsObject.
The angular acceleration.
|
get set |
Get or set the angular velocity of this PhysicsObject.
The angular velocity.
|
set |
Adds an impulse to this PhysicsObject.
|
get |
The acceleration that is currently being applied to this PhysicsObject.
The linear acceleration.
|
get |
Gets the Entity that this PhysicsObject belongs to.
|
get set |
The physicalized type of this PhysicsObject. If the PhysicsObject is not physicalized this will be PhysicalizationType.None
.
The physicalized type of the PhysicsObject.
|
get set |
Get or set the velocity of this PhysicsObject.