Method | Description | |
---|---|---|
MotorJoint ( Body bodyA, Body bodyB, bool useWorldCoordinates = false ) : System.Diagnostics |
Constructor for MotorJoint.
|
|
getReactionForce ( float invDt ) : |
||
getReactionTorque ( float invDt ) : float |
Method | Description | |
---|---|---|
MotorJoint ( ) : System.Diagnostics | ||
initVelocityConstraints ( SolverData &data ) : void | ||
solvePositionConstraints ( SolverData &data ) : bool | ||
solveVelocityConstraints ( SolverData &data ) : void |
public MotorJoint ( Body bodyA, Body bodyB, bool useWorldCoordinates = false ) : System.Diagnostics | ||
bodyA | Body | The first body |
bodyB | Body | The second body |
useWorldCoordinates | bool | Set to true if you are using world coordinates as anchors. |
return | System.Diagnostics |
public getReactionForce ( float invDt ) : |
||
invDt | float | |
return |
public getReactionTorque ( float invDt ) : float | ||
invDt | float | |
return | float |