Property | Type | Description | |
---|---|---|---|
collideConnected | bool | ||
enabled | bool | ||
userData | object |
Method | 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.
|
Method | Description | |
---|---|---|
Joint ( ) : System | ||
Joint ( Body body ) : System |
Constructor for fixed joint
|
|
Joint ( Body bodyA, Body bodyB ) : System | ||
wakeBodies ( ) : void |
Method | Description | |
---|---|---|
initVelocityConstraints ( SolverData &data ) : void | ||
solvePositionConstraints ( SolverData &data ) : bool |
Solves the position constraints.
|
|
solveVelocityConstraints ( SolverData &data ) : void | ||
validate ( float invDt ) : void |
protected Joint ( Body bodyA, Body bodyB ) : System | ||
bodyA | Body | |
bodyB | Body | |
return | System |
public abstract getReactionForce ( float invDt ) : Vector2 | ||
invDt | float | The inverse delta time. |
return | Vector2 |
public abstract getReactionTorque ( float invDt ) : float | ||
invDt | float | The inverse delta time. |
return | float |