I'm experiencing an undesirable effect when a rigid body slides along a floor into an upward-curved wall. Rather than sliding up the curve as expected, the body will (most of the time) bounce off as if it hit a flat wall. Occasionally the body does successfully slide up the curve as expected. I've attached a screenshot of the area.
I created a similar curve using a series of convex shapes which doesn't exhibit the bad behavior, so I think it's a problem with triangle mesh collision. Any ideas?
[Solved] Problem with sliding body against triangle mesh
-
- Posts: 8
- Joined: Wed Nov 20, 2013 6:40 am
[Solved] Problem with sliding body against triangle mesh
Last edited by cj3j on Mon Dec 02, 2013 10:53 pm, edited 1 time in total.
-
- Posts: 84
- Joined: Sun Jan 07, 2007 4:29 pm
- Location: Oxford, England
Re: Problem with sliding rigid body against triangle mesh
Do a search for btInternalEdgeUtility, which should do what you want:
http://www.bulletphysics.org/Bullet/php ... mit=Search
http://www.bulletphysics.org/Bullet/php ... mit=Search
-
- Posts: 8
- Joined: Wed Nov 20, 2013 6:40 am
Re: Problem with sliding rigid body against triangle mesh
Absolutely perfrect, thanks!