메소드 | 설명 | |
---|---|---|
GearJoint ( Body bodyA, Body bodyB, |
Requires two existing revolute or prismatic joints (any combination will work). The provided joints must attach a dynamic body to a static body.
|
|
getReactionForce ( float invDt ) : Vector2 | ||
getReactionTorque ( float invDt ) : float |
메소드 | 설명 | |
---|---|---|
initVelocityConstraints ( SolverData &data ) : void | ||
solvePositionConstraints ( SolverData &data ) : bool | ||
solveVelocityConstraints ( SolverData &data ) : void |
public GearJoint ( Body bodyA, Body bodyB, |
||
bodyA | Body | The first body |
bodyB | Body | The second body |
jointA | The first joint. | |
jointB | The second joint. | |
ratio | float | The ratio. |
리턴 | System.Diagnostics |