|
bool | SpringEnabled [get, set] |
| Gets or sets wheel joint spring enabled state.
|
|
float | SpringHertz [get, set] |
| Set the wheel joint spring frequency in hertz.
|
|
float | SpringDampingRatio [get, set] |
| The wheel joint damping ratio, non-dimensional.
|
|
bool | LimitEnabled [get, set] |
| The wheel joint limit enabled flag.
|
|
float | LowerLimit [get] |
| The lower wheel joint limit.
|
|
float | UpperLimit [get] |
| The upper wheel joint limit.
|
|
bool | MotorEnabled [get, set] |
| The wheel joint motor enabled flag.
|
|
float | MotorSpeed [get, set] |
| The wheel joint motor speed in radians per second.
|
|
float | MaxMotorTorque [get, set] |
| The wheel joint maximum motor torque, usually in newton-meters.
|
|
float | MotorTorque [get] |
| The current wheel joint motor torque, usually in newton-meters.
|
|
bool | Valid [get] |
| Checks if this joint is valid.
|
|
JointType | Type [get] |
| Gets the joint type.
|
|
Body | BodyA [get] |
| Gets body A on this joint.
|
|
Body | BodyB [get] |
| Gets body B on this joint.
|
|
World | World [get] |
| Gets the world that owns this joint.
|
|
Vec2 | LocalAnchorA [get] |
| Gets the local anchor on body A.
|
|
Vec2 | LocalAnchorB [get] |
| Gets the local anchor on body B.
|
|
bool | CollideConnected [get, set] |
| Set this flag to true if the attached bodies should collide.
|
|
object? | UserData [get, set] |
| The user data object for this joint.
|
|
Vec2 | ConstraintForce [get] |
| Gets the current constraint force for this joint.
|
|
float | ConstraintTorque [get] |
| Gets the current constraint torque for this joint.
|
|
The wheel joint can be used to simulate wheels on vehicles.
The wheel joint restricts body B to move along a local axis in body A. Body B is free to rotate. Supports a linear spring, linear limits, and a rotational motor.