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

Simulate walls in scenario

Mar 4, 2009 at 8:33 AM
i am doing a game like pong to practice whit Farseer. The scenario is one sprite, and the only thing i am missing is simulate the walls of the scenario. I thought to create a geometry with the correct coordinates, but i don´t know if this is the best practice.
Who is the best way to achieve my goal??

Thank´s for all.
Mar 6, 2009 at 5:53 PM
you probably want no gravity and no friction on the walls (which would slow the ball down on collision a little bit). the bounce of the ball should be calculated by Farseer. you may want to play around with the Restitution coefficient which controls the bounciness of a Geom.

> Who is the best way to achieve my goal??

as this are pretty basic questions, you may want to read the manual first ;)