Enable/disable the joint motor
enable boolean optional, default true
Get the current joint rotation speed in radians per second, clockwise like angle,
which is what this version of Box2D measures for a wheel joint
Get the current joint translation
Get the local anchor point relative to objectA's origin
Get the local anchor point relative to objectB's origin
Get the local joint axis relative to bodyA
Get the most torque the wheel's motor can apply, a magnitude
Get the motor speed, clockwise like angle
Get the motor torque over the last step, clockwise like angle
time number optionalThe step length in seconds, the world steps by timeDelta
Get how much the suspension spring is damped, 0 for none and 1 to stop it bouncing
Get the spring frequency in Hertz
Is the joint motor enabled?
Set the maximum motor torque, a magnitude
torque number
Set the motor speed, the wheel's turn in radians per second, clockwise like angle
speed number
Set how much the suspension spring is damped, 0 for none and 1 to stop it bouncing
ratio number
Set the spring frequency in Hertz
hz number