프로퍼티 | 타입 | 설명 | |
---|---|---|---|
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 |
메소드 | 설명 | |
---|---|---|
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 | ||
리턴 | Box2D.Common |
public GetReactionForce ( float inv_dt, |
||
inv_dt | float | |
argOut | ||
리턴 | void |
public InitVelocityConstraints ( SolverData data ) : void | ||
data | SolverData | |
리턴 | void |
public SolvePositionConstraints ( SolverData data ) : bool | ||
data | SolverData | |
리턴 | bool |
public SolveVelocityConstraints ( SolverData data ) : void | ||
data | SolverData | |
리턴 | void |