Create border

Topics: Developer Forum
Jan 23, 2013 at 9:40 PM

I am playing around with a bouncing ball which is fine a works well when it hits the floor that I have created. Is there a way of create a border for the size of the screen. I am writing for windows mobile 7.1



Feb 1, 2013 at 5:00 PM
You'll want to use a Loop shape to create a border around the screen (BodyFactory.CreateLoopShape). You'll supply the vertices (one for each corner of the screen), just don't forget to convert from screen coords to world coords.