Creates a composite with simple car setup of bodies and constraints.
name | type | description |
---|---|---|
x | number |
The horizontal position of the car in the world. |
y | number |
The vertical position of the car in the world. |
width | number |
The width of the car chasis. |
height | number |
The height of the car chasis. |
wheelSize | number |
The radius of the car wheels. |
A new composite car body.