new WheelJoint(spriteA, spriteB)
Wheel joints can be used to create vehicles!
By default the motor is disabled, angle is 90 degrees,
maxPower is 1000, springiness is 0.1, and damping is 0.7.
- Source:
Parameters:
Name |
Type |
Description |
spriteA |
Sprite
|
the vehicle body
|
spriteB |
Sprite
|
the wheel
|