Page 1 of 1

Vehicle raycast jumping on mesh's edge loops

Posted: Fri Jan 18, 2019 1:18 am
by stefanejro
Hi, I'm working on a racing game and I'm using btRaycastVehicle. When the vehicle drives over an edgeloop of a road's 3d mesh, it bounces, like if the edgeloop was an some kind of obstacle. The road is totaly flat though. Could you please provide any ideas that would help with that ? Do you know if any relatively easy fix exists ?

Re: Vehicle raycast jumping on mesh's edge loops

Posted: Mon Jan 21, 2019 1:35 am
by stefanejro
I've found a setting that makes things a bit better:
rigidBody->setContactProcessingThreshold(0.f);

Based on:
viewtopic.php?f=9&t=3052&start=30

We can consider this question closed.