Raycast Vehicle - driving on dynamic bodies

Post Reply
acu192
Posts: 11
Joined: Thu Jan 28, 2021 12:23 am

Raycast Vehicle - driving on dynamic bodies

Post by acu192 »

I noticed this comment in btRaycastVehicle. I dug through the git history to see where that comment came from ... turns out it has been there since 2006 in the first commit of the btRaycastVehicle.

So, I'm hoping someone from the core team can provide some history or context ... why does btRaycastVehicle not work to drive on top of dynamic bodies?

The code currently uses a singleton object to be the "ground" for all wheel raycasts. Unexpected IMO.

Has anyone attempted to make this work? I'm asking to avoid learning something the hard way that maybe others already know...
Post Reply