Vehicle raycast jumping on mesh's edge loops
-
- Posts: 12
- Joined: Sun May 20, 2018 6:57 pm
Vehicle raycast jumping on mesh's edge loops
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 ?
You do not have the required permissions to view the files attached to this post.
-
- Posts: 12
- Joined: Sun May 20, 2018 6:57 pm
Re: Vehicle raycast jumping on mesh's edge loops
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.
rigidBody->setContactProcessingThreshold(0.f);
Based on:
viewtopic.php?f=9&t=3052&start=30
We can consider this question closed.