I have a landscape made of a bunch of 2-vertice polygons and I have a rectangle sliding along on top of it.
The corners of the rectangle seem to get stuck on the landsacpe vertices occasionally.
See this video and watch when the box slides back down the hill:
http://www.screentoaster.com/watch/stVUhQSk1IR15dSFVbWl1fVFFT
Has anyone else experience this? What are some common ways to try fixing this. This seems to happen no matter what values I choose for Velocity/Position iterations.
Note: I'm using the Farseer Physics port of Box2D/Box2DXNA, but I'm posting here because I suspect this might be an issue with Box2D itself. (Could be wrong on that point)
The engine I'm using is based on a pretty recent revision of Box2D.
Thanks,
-Jeff Weber
http://www.farseergames.com
The corners of the rectangle seem to get stuck on the landsacpe vertices occasionally.
See this video and watch when the box slides back down the hill:
http://www.screentoaster.com/watch/stVUhQSk1IR15dSFVbWl1fVFFT
Has anyone else experience this? What are some common ways to try fixing this. This seems to happen no matter what values I choose for Velocity/Position iterations.
Note: I'm using the Farseer Physics port of Box2D/Box2DXNA, but I'm posting here because I suspect this might be an issue with Box2D itself. (Could be wrong on that point)
The engine I'm using is based on a pretty recent revision of Box2D.
Thanks,
-Jeff Weber
http://www.farseergames.com