C# Class FarseerPhysics.Dynamics.Joints.AngleJoint

Maintains a fixed angle between two bodies
Inheritance: Joint
Afficher le fichier Open project: prime31/Nez Class Usage Examples

Méthodes publiques

Свойство Type Description
biasFactor float
maxImpulse float
softness float

Méthodes publiques

Méthode Description
AngleJoint ( Body bodyA, Body bodyB ) : System

Constructor for AngleJoint

getReactionForce ( float invDt ) : Vector2
getReactionTorque ( float invDt ) : float

Private Methods

Méthode Description
AngleJoint ( ) : System
initVelocityConstraints ( SolverData &data ) : void
solvePositionConstraints ( SolverData &data ) : bool
solveVelocityConstraints ( SolverData &data ) : void

Method Details

AngleJoint() public méthode

Constructor for AngleJoint
public AngleJoint ( Body bodyA, Body bodyB ) : System
bodyA Body The first body
bodyB Body The second body
Résultat System

getReactionForce() public méthode

public getReactionForce ( float invDt ) : Vector2
invDt float
Résultat Vector2

getReactionTorque() public méthode

public getReactionTorque ( float invDt ) : float
invDt float
Résultat float

Property Details

biasFactor public_oe property

Gets or sets the bias factor. Defaults to 0.2
public float biasFactor
Résultat float

maxImpulse public_oe property

Gets or sets the maximum impulse Defaults to float.MaxValue
public float maxImpulse
Résultat float

softness public_oe property

Gets or sets the softness of the joint Defaults to 0
public float softness
Résultat float