This project has moved. For the latest updates, please go here.

Invisible wall problem

Topics: Developer Forum, Project Management Forum, User Forum
Apr 1, 2013 at 4:15 PM

I am facing a very weird problem. I have a set of bodies (robots and obstacles) which are farseer bodies. The obstacles are dynamic, so they move around in a closed wall enclosure (a rectangular arena) When I make the robots as Dynamic bodies, everything works well, but when I make them static, there is an invisible wall in the middle of the rectangular arena and the moving obstacles cannot go pass it. This doesn't make any sense to me. Please help as it is important that I make the robots static
Apr 8, 2013 at 2:56 PM
My guess is that you've added a static body that you are failing to draw. The physics world and screen world are separate. If it looks like the obstacles can't get past something, then there's probably something in their way (in the physics world). If you can't see it, it probably just means you're not drawing it.

Hope that helps,