Property | Type | Description | |
---|---|---|---|
Breakpoint | float | ||
Enabled | bool |
Property | Type | Description | |
---|---|---|---|
InvIA | float | ||
InvIB | float | ||
InvMassA | float | ||
InvMassB | float | ||
LocalCenterA | Vector2 |
Method | Description | |
---|---|---|
GetReactionForce ( float inv_dt ) : Vector2 |
Get the reaction force on body2 at the joint anchor in Newtons.
|
|
GetReactionTorque ( float inv_dt ) : float |
Get the reaction torque on body2 in N*m.
|
|
IsFixedType ( ) : bool |
Return true if the joint is a fixed type.
|
Method | Description | |
---|---|---|
Joint ( Body body ) : System |
Constructor for fixed joint
|
|
Joint ( Body body, Body bodyB ) : System | ||
WakeBodies ( ) : void |
Method | Description | |
---|---|---|
InitVelocityConstraints ( TimeStep &step ) : void | ||
SolvePositionConstraints ( ) : bool |
Solves the position constraints.
|
|
SolveVelocityConstraints ( TimeStep &step ) : void | ||
Validate ( float invDT ) : void |
public abstract GetReactionForce ( float inv_dt ) : Vector2 | ||
inv_dt | float | The inv_dt. |
return | Vector2 |
public abstract GetReactionTorque ( float inv_dt ) : float | ||
inv_dt | float | The inv_dt. |
return | float |
protected Joint ( Body body, Body bodyB ) : System | ||
body | Body | |
bodyB | Body | |
return | System |