Property | Type | Description | |
---|---|---|---|
BodyA | Body | ||
BodyB | Body | ||
CollideConnected | bool | ||
EdgeA | |||
EdgeB | |||
Index | int | ||
IslandFlag | bool | ||
Next | |||
Prev | |||
Type | JointType | ||
UserData | Object |
Property | Type | Description | |
---|---|---|---|
Pool | IWorldPool |
Method | Description | |
---|---|---|
Create ( World argWorld, |
||
Destroy ( |
||
Destructor ( ) : void |
Override to handle destruction of joint
|
|
GetAnchorA ( |
get the anchor point on bodyA in world coordinates.
|
|
GetAnchorB ( |
get the anchor point on bodyB in world coordinates.
|
|
GetReactionForce ( float inv_dt, |
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.
|
|
InitVelocityConstraints ( SolverData data ) : void | ||
SolvePositionConstraints ( SolverData data ) : bool |
This returns true if the position errors are within tolerance.
|
|
SolveVelocityConstraints ( SolverData data ) : void |
Method | Description | |
---|---|---|
Joint ( IWorldPool argWorldPool, |
public static Create ( World argWorld, |
||
argWorld | World | |
def | ||
return |
public abstract GetAnchorA ( |
||
argOut | ||
return | void |
public abstract GetAnchorB ( |
||
argOut | ||
return | void |
public abstract GetReactionForce ( float inv_dt, |
||
inv_dt | float | |
argOut | ||
return | void |
public abstract GetReactionTorque ( float inv_dt ) : float | ||
inv_dt | float | |
return | float |
public abstract InitVelocityConstraints ( SolverData data ) : void | ||
data | SolverData | |
return | void |
protected Joint ( IWorldPool argWorldPool, |
||
argWorldPool | IWorldPool | |
def | ||
return | System |
public abstract SolvePositionConstraints ( SolverData data ) : bool | ||
data | SolverData | |
return | bool |
public abstract SolveVelocityConstraints ( SolverData data ) : void | ||
data | SolverData | |
return | void |