메소드 | 설명 | |
---|---|---|
AddTorque ( float torque ) : void |
Adds drivetorque.
|
|
GetWorldPosition ( ) : Jitter.LinearMath.JVector |
Gets the position of the wheel in world space.
|
|
RemoveWheel ( ) : void | ||
Wheel ( |
Creates a new instance of the Wheel class.
|
메소드 | 설명 | |
---|---|---|
PostStep ( float timeStep ) : void | ||
PreStep ( float timeStep ) : void | ||
RaycastCallback ( RigidBody body, Jitter.LinearMath.JVector normal, float frac ) : bool |
public AddTorque ( float torque ) : void | ||
torque | float | The amount of torque applied to this wheel. |
리턴 | void |
public GetWorldPosition ( ) : Jitter.LinearMath.JVector | ||
리턴 | Jitter.LinearMath.JVector |
public Wheel ( |
||
world | The world. | |
car | RigidBody | The RigidBody on which to apply the wheel forces. |
position | Jitter.LinearMath.JVector | The position of the wheel on the body (in body space). |
radius | float | The wheel radius. |
리턴 | System |