Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
SiliconStudio.Paradox.Physics.RigidBody Class Reference
Inheritance diagram for SiliconStudio.Paradox.Physics.RigidBody:
SiliconStudio.Paradox.Physics.Collider

Public Member Functions

override void Dispose ()
 Releases unmanaged and - optionally - managed resources. More...
 
void ApplyImpulse (Vector3 impulse)
 Applies the impulse. More...
 
void ApplyImpulse (Vector3 impulse, Vector3 localOffset)
 Applies the impulse. More...
 
void ApplyForce (Vector3 force)
 Applies the force. More...
 
void ApplyForce (Vector3 force, Vector3 localOffset)
 Applies the force. More...
 
void ApplyTorque (Vector3 torque)
 Applies the torque. More...
 
void ApplyTorqueImpulse (Vector3 torque)
 Applies the torque impulse. More...
 
- Public Member Functions inherited from SiliconStudio.Paradox.Physics.Collider
 Collider (ColliderShape collider)
 Initializes a new instance of the Collider class. More...
 
void Activate (bool forceActivation=false)
 Attempts to awake the collider. More...
 

Properties

float Mass [get, set]
 Gets or sets the mass. More...
 
float AngularDamping [get, set]
 Gets or sets the angular damping. More...
 
float LinearDamping [get, set]
 Gets or sets the linear damping. More...
 
Vector3 Gravity [get, set]
 Gets or sets the gravity for this single rigid body overriding the engine. More...
 
Vector3 TotalTorque [get]
 Gets the total torque. More...
 
Vector3 AngularVelocity [get, set]
 Gets or sets the angular velocity. More...
 
Vector3 LinearVelocity [get, set]
 Gets or sets the linear velocity. More...
 
Vector3 TotalForce [get]
 Gets the total force. More...
 
Vector3 AngularFactor [get, set]
 Gets or sets the angular factor. More...
 
Vector3 LinearFactor [get, set]
 Gets or sets the linear factor. More...
 
RigidBodyTypes Type [get, set]
 Gets or sets the type. More...
 
FastList< ConstraintLinkedConstraints [get, set]
 Gets the linked constraints. More...
 
- Properties inherited from SiliconStudio.Paradox.Physics.Collider
bool Enabled [get, set]
 Gets or sets a value indicating whether this Collider is enabled. More...
 
bool CanSleep [get, set]
 Gets or sets a value indicating whether this instance can sleep. More...
 
bool IsActive [get]
 Gets a value indicating whether this instance is active (awake). More...
 
float Restitution [get, set]
 Gets or sets the restitution. More...
 
float Friction [get, set]
 Gets or sets the friction. More...
 
float RollingFriction [get, set]
 Gets or sets the rolling friction. More...
 
float CcdMotionThreshold [get, set]
 Gets or sets the CCD motion threshold. More...
 
float CcdSweptSphereRadius [get, set]
 Gets or sets the CCD swept sphere radius. More...
 
bool IsTrigger [get, set]
 Gets or sets a value indicating whether this instance is a trigger. More...
 
Matrix PhysicsWorldTransform [get, set]
 Gets the physics world transform. More...
 
ColliderShape ColliderShape [get, set]
 Gets the collider shape. More...
 
bool ContactsAlwaysValid [get, set]
 Gets or sets a value indicating whether the Contacts list needs to be always valid. This is used to improve performance in the case the list is not needed. More...
 
EventHandler< CollisionArgsOnFirstContactBegin
 Occurs when the first contant with a collider begins. More...
 
EventHandler< CollisionArgsOnContactBegin
 Occurs when a contact begins (there could be multiple contacts and contact points). More...
 
EventHandler< CollisionArgsOnContactChange
 Occurs when a contact changed. More...
 
EventHandler< CollisionArgsOnLastContactEnd
 Occurs when the last contact with a collider happened. More...
 
EventHandler< CollisionArgsOnContactEnd
 Occurs when a contact ended. More...
 
FastList< ContactContacts [get]
 Gets the contacts. More...
 
string Tag [get, set]
 Gets or sets the tag. More...
 
object EntityObject [get, set]
 Gets or sets the entity object. Should always cast this as an Entity More...
 

Detailed Description

Definition at line 8 of file RigidBody.cs.

Member Function Documentation

void SiliconStudio.Paradox.Physics.RigidBody.ApplyForce ( Vector3  force)

Applies the force.

Parameters
forceThe force.

Definition at line 139 of file RigidBody.cs.

void SiliconStudio.Paradox.Physics.RigidBody.ApplyForce ( Vector3  force,
Vector3  localOffset 
)

Applies the force.

Parameters
forceThe force.
localOffsetThe local offset.

Definition at line 149 of file RigidBody.cs.

void SiliconStudio.Paradox.Physics.RigidBody.ApplyImpulse ( Vector3  impulse)

Applies the impulse.

Parameters
impulseThe impulse.

Definition at line 120 of file RigidBody.cs.

void SiliconStudio.Paradox.Physics.RigidBody.ApplyImpulse ( Vector3  impulse,
Vector3  localOffset 
)

Applies the impulse.

Parameters
impulseThe impulse.
localOffsetThe local offset.

Definition at line 130 of file RigidBody.cs.

void SiliconStudio.Paradox.Physics.RigidBody.ApplyTorque ( Vector3  torque)

Applies the torque.

Parameters
torqueThe torque.

Definition at line 158 of file RigidBody.cs.

void SiliconStudio.Paradox.Physics.RigidBody.ApplyTorqueImpulse ( Vector3  torque)

Applies the torque impulse.

Parameters
torqueThe torque.

Definition at line 167 of file RigidBody.cs.

override void SiliconStudio.Paradox.Physics.RigidBody.Dispose ( )
virtual

Releases unmanaged and - optionally - managed resources.

Reimplemented from SiliconStudio.Paradox.Physics.Collider.

Definition at line 28 of file RigidBody.cs.

Property Documentation

float SiliconStudio.Paradox.Physics.RigidBody.AngularDamping
getset

Gets or sets the angular damping.

The angular damping.

Definition at line 64 of file RigidBody.cs.

Vector3 SiliconStudio.Paradox.Physics.RigidBody.AngularFactor
getset

Gets or sets the angular factor.

The angular factor.

Definition at line 214 of file RigidBody.cs.

Vector3 SiliconStudio.Paradox.Physics.RigidBody.AngularVelocity
getset

Gets or sets the angular velocity.

The angular velocity.

Definition at line 179 of file RigidBody.cs.

Vector3 SiliconStudio.Paradox.Physics.RigidBody.Gravity
getset

Gets or sets the gravity for this single rigid body overriding the engine.

The gravity.

Definition at line 100 of file RigidBody.cs.

float SiliconStudio.Paradox.Physics.RigidBody.LinearDamping
getset

Gets or sets the linear damping.

The linear damping.

Definition at line 82 of file RigidBody.cs.

Vector3 SiliconStudio.Paradox.Physics.RigidBody.LinearFactor
getset

Gets or sets the linear factor.

The linear factor.

Definition at line 226 of file RigidBody.cs.

Vector3 SiliconStudio.Paradox.Physics.RigidBody.LinearVelocity
getset

Gets or sets the linear velocity.

The linear velocity.

Definition at line 191 of file RigidBody.cs.

FastList<Constraint> SiliconStudio.Paradox.Physics.RigidBody.LinkedConstraints
getset

Gets the linked constraints.

The linked constraints.

Definition at line 270 of file RigidBody.cs.

float SiliconStudio.Paradox.Physics.RigidBody.Mass
getset

Gets or sets the mass.

The mass.

Definition at line 43 of file RigidBody.cs.

Vector3 SiliconStudio.Paradox.Physics.RigidBody.TotalForce
get

Gets the total force.

The total force.

Definition at line 203 of file RigidBody.cs.

Vector3 SiliconStudio.Paradox.Physics.RigidBody.TotalTorque
get

Gets the total torque.

The total torque.

Definition at line 112 of file RigidBody.cs.

RigidBodyTypes SiliconStudio.Paradox.Physics.RigidBody.Type
getset

Gets or sets the type.

The type.

Definition at line 238 of file RigidBody.cs.


The documentation for this class was generated from the following file: