Property | Type | Description | |
---|---|---|---|
Bias | float | ||
DampingRatio | float | ||
FrequencyHz | float | ||
Gamma | float | ||
Impulse | float | ||
IndexA | int | ||
IndexB | int | ||
InvIA | float | ||
InvIB | float | ||
InvMassA | float | ||
InvMassB | float | ||
Length | float | ||
LocalAnchorA | |||
LocalAnchorB | |||
LocalCenterA | |||
LocalCenterB | |||
Mass | float | ||
RA | |||
RB | |||
U |
Method | Description | |
---|---|---|
DistanceJoint ( IWorldPool argWorld, |
||
GetAnchorA ( |
||
GetAnchorB ( |
||
GetReactionForce ( float inv_dt, |
Get the reaction force given the inverse time step. Unit is N.
|
|
GetReactionTorque ( float inv_dt ) : float |
Get the reaction torque given the inverse time step. Unit is N*m. This is always zero for a distance joint.
|
|
InitVelocityConstraints ( SolverData data ) : void | ||
SolvePositionConstraints ( SolverData data ) : bool | ||
SolveVelocityConstraints ( SolverData data ) : void |
public DistanceJoint ( IWorldPool argWorld, |
||
argWorld | IWorldPool | |
def | ||
return | Box2D.Common |
public GetAnchorA ( |
||
argOut | ||
return | void |
public GetAnchorB ( |
||
argOut | ||
return | void |
public GetReactionForce ( float inv_dt, |
||
inv_dt | float | |
argOut | ||
return | void |
public GetReactionTorque ( float inv_dt ) : float | ||
inv_dt | float | |
return | float |
public InitVelocityConstraints ( SolverData data ) : void | ||
data | SolverData | |
return | void |
public SolvePositionConstraints ( SolverData data ) : bool | ||
data | SolverData | |
return | bool |
public SolveVelocityConstraints ( SolverData data ) : void | ||
data | SolverData | |
return | void |