Property | Type | Description | |
---|---|---|---|
localAnchorA | Vector2 | ||
localAnchorB | Vector2 | ||
maxForce | float | ||
maxTorque | float |
Method | Description | |
---|---|---|
FrictionJoint ( Body bodyA, Body bodyB, Vector2 anchor, bool useWorldCoordinates = false ) : FarseerPhysics.Common |
Constructor for FrictionJoint.
|
|
getReactionForce ( float invDt ) : Vector2 | ||
getReactionTorque ( float invDt ) : float |
Method | Description | |
---|---|---|
FrictionJoint ( ) : FarseerPhysics.Common | ||
initVelocityConstraints ( SolverData &data ) : void | ||
solvePositionConstraints ( SolverData &data ) : bool | ||
solveVelocityConstraints ( SolverData &data ) : void |
public FrictionJoint ( Body bodyA, Body bodyB, Vector2 anchor, bool useWorldCoordinates = false ) : FarseerPhysics.Common | ||
bodyA | Body | |
bodyB | Body | |
anchor | Vector2 | |
useWorldCoordinates | bool | Set to true if you are using world coordinates as anchors. |
return | FarseerPhysics.Common |
public getReactionForce ( float invDt ) : Vector2 | ||
invDt | float | |
return | Vector2 |
public getReactionTorque ( float invDt ) : float | ||
invDt | float | |
return | float |