I want to have a vehicle move through my scene whilst staying on the ground. The getHeightAtCoordinates() method of the GroundMesh mostly returns NaN in my scene, and this is discussed in other threads, so I tried scene.pickWithRay(ray) instead, which sometimes works and sometimes the ray hits the vehicle before it hits the ground (I tried firing the ray both downwards and upwards) causing strange vehicle behaviors.
I currently don’t use physics, and enabling it just for collision detection with the ground mesh seems like an overkill.
Are there any other techniques that can be used to keep a vehicle on the ground as it moves?