Farseer 3 units

Apr 22, 2011 at 6: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?

Developer
Apr 23, 2011 at 9:00 AM
Edited Apr 23, 2011 at 9: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 11:59 AM

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?