Body Update Function

Topics: Developer Forum
Nov 23, 2011 at 11:38 AM

I'm attempting to create a Farseer 3 WPF application, however I can only find a WPF example for Farseer 2.

In the Farseer 2 example, in the file BodyVisualHelper.cs an update handler is attached to a body via 

body.Update += delegate { Update(); };

If I understand correctly this calls the Update() function which updates the graphics on the screen whenever the body is updated in some way (i.e. moved by the physics engine).

However, in Farseer 3 there is no body.Update, so I cannot attach any update function.

Is there an equivalent I can use, or is Farseer 3 fundamentally different and i'm doing it all wrong?