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

Farseer 3 units

Apr 22, 2011 at 7:27 PM

I just started using 3.x and remembered there was talk of switching to real-world units.

Are there any guidelines for what sort of scales to use and working between pixels and farseer sizes?

Apr 23, 2011 at 10:00 AM
Edited Apr 23, 2011 at 10:01 AM

According to the Box2D manual your objects should be between 0.1 and 10.0 meters (or units) in size as the engine is tuned for that. So a good hint is to take your biggest and smallest object and try to that into this scale.

Apr 23, 2011 at 12:59 PM

So effectively I'm simply multiplying my pixel vectors by some constant in the range of 1/100 to feed into the sim and then dividing the outputs by that constant before drawing?