vehicle_controller
Simulating a car with rigid-bodies and joints, for example using one rigid-body per wheel attached to the chassis by a joint, is
possible but can be difficult to control for games requiring non-realistic vehicles. This is why Rapier provides a
vehicle controller (the current implementation was ported from the btRaycastVehicle of Bullet). The vehicle is a
single rigid-body modeling its chassis, and its wheels are only represented by ray-casts pushing that body along a
spring-like suspension.
info
The vehicle controller is only available in 3D, i.e., with the r3 functions.