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

Public Member Functions

void SetFrames (Matrix frameA, Matrix frameB)
 Sets the frames. More...
 
void SetLimit (float low, float high)
 Sets the limit. More...
 
void SetLimit (float low, float high, float softness)
 Sets the limit. More...
 
void SetLimit (float low, float high, float softness, float biasFactor)
 Sets the limit. More...
 
void SetLimit (float low, float high, float softness, float biasFactor, float relaxationFactor)
 Sets the limit. More...
 
void EnableAngularMotor (bool enableMotor, float targetVelocity, float maxMotorImpulse)
 Enables the angular motor. More...
 
void EnableMotor (bool enableMotor)
 Enables the motor. More...
 
void SetMotorTarget (float targetAngle, float dt)
 Sets the motor target. More...
 
void SetMotorTarget (Quaternion qAinB, float dt)
 Sets the motor target. More...
 
- Public Member Functions inherited from SiliconStudio.Paradox.Physics.Constraint
virtual void Dispose ()
 Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. More...
 

Properties

bool AngularOnly [get, set]
 Gets or sets a value indicating whether [angular only]. More...
 
float HingeAngle [get]
 Gets the hinge angle. More...
 
float MaxMotorImpulse [get, set]
 Gets or sets the maximum motor impulse. More...
 
float MotorTargetVelocity [get]
 Gets the motor target velocity. More...
 
int SolveLimit [get]
 Gets the solve limit. More...
 
float LowerLimit [get]
 Gets the lower limit. More...
 
float UpperLimit [get]
 Gets the upper limit. More...
 
float LimitSign [get]
 Gets the limit sign. More...
 
- Properties inherited from SiliconStudio.Paradox.Physics.Constraint
RigidBody RigidBodyA [get, set]
 Gets the rigid body a. More...
 
RigidBody RigidBodyB [get, set]
 Gets the rigid body b. More...
 
bool Enabled [get, set]
 Gets or sets a value indicating whether this Constraint is enabled. More...
 
float BreakingImpulseThreshold [get, set]
 Gets or sets the breaking impulse threshold. More...
 
float AppliedImpulse [get]
 Gets the applied impulse. More...
 

Detailed Description

Definition at line 7 of file HingeConstraint.cs.

Member Function Documentation

void SiliconStudio.Paradox.Physics.HingeConstraint.EnableAngularMotor ( bool  enableMotor,
float  targetVelocity,
float  maxMotorImpulse 
)

Enables the angular motor.

Parameters
enableMotorif set to true [enable motor].
targetVelocityThe target velocity.
maxMotorImpulseThe maximum motor impulse.

Definition at line 161 of file HingeConstraint.cs.

void SiliconStudio.Paradox.Physics.HingeConstraint.EnableMotor ( bool  enableMotor)

Enables the motor.

Parameters
enableMotorif set to true [enable motor].

Definition at line 170 of file HingeConstraint.cs.

void SiliconStudio.Paradox.Physics.HingeConstraint.SetFrames ( Matrix  frameA,
Matrix  frameB 
)

Sets the frames.

Parameters
frameAThe frame a.
frameBThe frame b.

Definition at line 14 of file HingeConstraint.cs.

void SiliconStudio.Paradox.Physics.HingeConstraint.SetLimit ( float  low,
float  high 
)

Sets the limit.

Parameters
lowThe low.
highThe high.

Definition at line 114 of file HingeConstraint.cs.

void SiliconStudio.Paradox.Physics.HingeConstraint.SetLimit ( float  low,
float  high,
float  softness 
)

Sets the limit.

Parameters
lowThe low.
highThe high.
softnessThe softness.

Definition at line 125 of file HingeConstraint.cs.

void SiliconStudio.Paradox.Physics.HingeConstraint.SetLimit ( float  low,
float  high,
float  softness,
float  biasFactor 
)

Sets the limit.

Parameters
lowThe low.
highThe high.
softnessThe softness.
biasFactorThe bias factor.

Definition at line 137 of file HingeConstraint.cs.

void SiliconStudio.Paradox.Physics.HingeConstraint.SetLimit ( float  low,
float  high,
float  softness,
float  biasFactor,
float  relaxationFactor 
)

Sets the limit.

Parameters
lowThe low.
highThe high.
softnessThe softness.
biasFactorThe bias factor.
relaxationFactorThe relaxation factor.

Definition at line 150 of file HingeConstraint.cs.

void SiliconStudio.Paradox.Physics.HingeConstraint.SetMotorTarget ( float  targetAngle,
float  dt 
)

Sets the motor target.

Parameters
targetAngleThe target angle.
dtThe dt.

Definition at line 180 of file HingeConstraint.cs.

void SiliconStudio.Paradox.Physics.HingeConstraint.SetMotorTarget ( Quaternion  qAinB,
float  dt 
)

Sets the motor target.

Parameters
qAinBThe q ain b.
dtThe dt.

Definition at line 190 of file HingeConstraint.cs.

Property Documentation

bool SiliconStudio.Paradox.Physics.HingeConstraint.AngularOnly
getset

Gets or sets a value indicating whether [angular only].

true if [angular only]; otherwise, false.

Definition at line 26 of file HingeConstraint.cs.

float SiliconStudio.Paradox.Physics.HingeConstraint.HingeAngle
get

Gets the hinge angle.

The hinge angle.

Definition at line 38 of file HingeConstraint.cs.

float SiliconStudio.Paradox.Physics.HingeConstraint.LimitSign
get

Gets the limit sign.

The limit sign.

Definition at line 105 of file HingeConstraint.cs.

float SiliconStudio.Paradox.Physics.HingeConstraint.LowerLimit
get

Gets the lower limit.

The lower limit.

Definition at line 83 of file HingeConstraint.cs.

float SiliconStudio.Paradox.Physics.HingeConstraint.MaxMotorImpulse
getset

Gets or sets the maximum motor impulse.

The maximum motor impulse.

Definition at line 49 of file HingeConstraint.cs.

float SiliconStudio.Paradox.Physics.HingeConstraint.MotorTargetVelocity
get

Gets the motor target velocity.

The motor target velocity.

Definition at line 61 of file HingeConstraint.cs.

int SiliconStudio.Paradox.Physics.HingeConstraint.SolveLimit
get

Gets the solve limit.

The solve limit.

Definition at line 72 of file HingeConstraint.cs.

float SiliconStudio.Paradox.Physics.HingeConstraint.UpperLimit
get

Gets the upper limit.

The upper limit.

Definition at line 94 of file HingeConstraint.cs.


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