Creating Boundry Bodies

Topics: Developer Forum, User Forum
Jan 14, 2008 at 8:29 PM
Is there a way to setup like a giant circle that other bodies just cant go through, like they are inside it, but not able to get out.

Example: http://youtube.com/watch?v=NgdtuxLt7nM
Jan 14, 2008 at 10:38 PM
There are probably lot of clever ways to handle this optimially, but w/o hacking the engine - the most straight forward way is probably a series or curved-arc objects made static (and which also do not collide with each other). You wouldn't want it as a single object because it would have a huge AABB and would be tested against every object every frame..... but if you don't have that many objects, maybe not a big deal.







Coordinator
Jan 17, 2008 at 4:33 PM
Yeah, probably a bunch of arch geoms all attached to a single static body would work best.