World Reference

I'm trying to implement an explosion from the Farseer dlls but i can't work out how to pass a world variable from the physics controller. Is this something that i can expose to be able to pass in or can i create one off the physics controller?

Thanks Andy, I think the Farseer World object is more of a container object similar to the physicsController. It looks like the physicsController is doing the same sort of things, i thought there might be a world object backing it somewhere.

Just a reminder, Farseer uses its own coordinate system in "World" coordinates. But as a Silverlight developer, we are used to positioning things at specific X,Y (or Left, Top) coordinates.

If you just need the screen position of a sprite, you can use the Sprite.Position property - there is no need to translate to or from World coordinates. Sprite.Position will return the equivalent Left, Top properties of the element.

But for more advanced stuff, you may need to get at World coordinates. For WorldToScreen, the world parameter is a Vector2 (x,y) position in Farseer's world coordinates. For example, for a sprite's BodyObject.Postion property.