This project has moved and is read-only. For the latest updates, please go here.

Easiest Way to make "Window-Walls"

May 7, 2009 at 11:00 PM
What is the easiest way to make walls around your window? For example, when my object hits the right side of the window he will bounce off. I need to make four walls, and right now i am using two arrays  (one for the side walls, and one for the top and bottom walls), then i set each of the four walls positions manually, but it doesn't seem to be working. So i was wondering if there was an easier way.
May 7, 2009 at 11:58 PM
What is it that is not working?

Make sure that you have set the collision groups and collision categories correctly (they should all collide by default if you have not changed them).
Also make sure that the bodies and geometries are included in the physics simulator. If you use the factories objects, use the method overload that includes the physics simulator.
May 8, 2009 at 4:31 AM

Oops, thanks again genbox! I forgot the physicsSimuator! Ha, sorry, thanks for making me notice that!