So i want my car to be able to ride 360* around a pipe. I need to disable gravity and apply custom force for each object, but btRaycastVehicle does not support adding forces, nor disabling gravity. There is however
Code:
setCoordinateSystem ( int rightIndex,
int upIndex,
int forwardIndex
)
, but it doesn't seem like a good idea to change it every frame, does it ?
On another approach I could make a car out of "lego": convex chasis + cylinder wheels + joints. VehicleDemo does say
Quote:
///btRaycastVehicle is the interface for the constraint that implements the raycast vehicle
///notice that for higher-quality slow-moving vehicles, another approach might be better
///implementing explicit hinged-wheel constraints with cylinder collision, rather then raycasts
though I want my car to move FAST. Will this method still provide good results for fast cars ?
Any links on implementing suspension and preventing sliding on turns, will be appreciated.