C# Class FarseerPhysics.Dynamics.Joints.Joint

Afficher le fichier Open project: prime31/Nez Class Usage Examples

Méthodes publiques

Свойство Type Description
collideConnected bool
enabled bool
userData object

Méthodes publiques

Méthode Description
getReactionForce ( float invDt ) : Vector2

Get the reaction force on body at the joint anchor in Newtons.

getReactionTorque ( float invDt ) : float

Get the reaction torque on the body at the joint anchor in N*m.

isFixedType ( ) : bool

Return true if the joint is a fixed type.

Méthodes protégées

Méthode Description
Joint ( ) : System
Joint ( Body body ) : System

Constructor for fixed joint

Joint ( Body bodyA, Body bodyB ) : System
wakeBodies ( ) : void

Private Methods

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

Solves the position constraints.

solveVelocityConstraints ( SolverData &data ) : void
validate ( float invDt ) : void

Method Details

Joint() protected méthode

protected Joint ( ) : System
Résultat System

Joint() protected méthode

Constructor for fixed joint
protected Joint ( Body body ) : System
body Body
Résultat System

Joint() protected méthode

protected Joint ( Body bodyA, Body bodyB ) : System
bodyA Body
bodyB Body
Résultat System

getReactionForce() public abstract méthode

Get the reaction force on body at the joint anchor in Newtons.
public abstract getReactionForce ( float invDt ) : Vector2
invDt float The inverse delta time.
Résultat Vector2

getReactionTorque() public abstract méthode

Get the reaction torque on the body at the joint anchor in N*m.
public abstract getReactionTorque ( float invDt ) : float
invDt float The inverse delta time.
Résultat float

isFixedType() public méthode

Return true if the joint is a fixed type.
public isFixedType ( ) : bool
Résultat bool

wakeBodies() protected méthode

protected wakeBodies ( ) : void
Résultat void

Property Details

collideConnected public_oe property

Set this flag to true if the attached bodies should collide.
public bool collideConnected
Résultat bool

enabled public_oe property

Indicate if this join is enabled or not. Disabling a joint means it is still in the simulation, but inactive.
public bool enabled
Résultat bool

userData public_oe property

Set the user data pointer.
public object userData
Résultat object