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

Public Member Functions

override void Dispose ()
 Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. More...
 
void Jump ()
 Jumps this instance. More...
 
void Teleport (Vector3 targetPosition)
 Teleports the specified target position. More...
 
void Move (Vector3 movement)
 Moves the specified movement. 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 FallSpeed [get, set]
 Gets or sets the fall speed. More...
 
float MaxSlope [get, set]
 Gets or sets the maximum slope. More...
 
float JumpSpeed [get, set]
 Gets or sets the jump speed. More...
 
Vector3 UpAxis [get, set]
 Gets or sets up axis. More...
 
float Gravity [get, set]
 Gets or sets the gravity. More...
 
bool IsGrounded [get]
 Gets a value indicating whether this instance is on the ground. 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 9 of file Character.cs.

Member Function Documentation

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

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Reimplemented from SiliconStudio.Paradox.Physics.Collider.

Definition at line 23 of file Character.cs.

void SiliconStudio.Paradox.Physics.Character.Jump ( )

Jumps this instance.

Definition at line 87 of file Character.cs.

void SiliconStudio.Paradox.Physics.Character.Move ( Vector3  movement)

Moves the specified movement.

Parameters
movementThe movement.

Definition at line 161 of file Character.cs.

void SiliconStudio.Paradox.Physics.Character.Teleport ( Vector3  targetPosition)

Teleports the specified target position.

Parameters
targetPositionThe target position.

Definition at line 152 of file Character.cs.

Property Documentation

float SiliconStudio.Paradox.Physics.Character.FallSpeed
getset

Gets or sets the fall speed.

The fall speed.

Definition at line 47 of file Character.cs.

float SiliconStudio.Paradox.Physics.Character.Gravity
getset

Gets or sets the gravity.

The gravity.

Definition at line 132 of file Character.cs.

bool SiliconStudio.Paradox.Physics.Character.IsGrounded
get

Gets a value indicating whether this instance is on the ground.

true if this instance is grounded; otherwise, false.

Definition at line 144 of file Character.cs.

float SiliconStudio.Paradox.Physics.Character.JumpSpeed
getset

Gets or sets the jump speed.

The jump speed.

Definition at line 75 of file Character.cs.

float SiliconStudio.Paradox.Physics.Character.MaxSlope
getset

Gets or sets the maximum slope.

The maximum slope.

Definition at line 63 of file Character.cs.

Vector3 SiliconStudio.Paradox.Physics.Character.UpAxis
getset

Gets or sets up axis.

Up axis.

Exceptions
System.ExceptionInvalid Up Axis.

Definition at line 100 of file Character.cs.


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