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

Best way of adding a physics object (with image) at runtime

Oct 20, 2011 at 1:03 PM
Edited Oct 20, 2011 at 1:04 PM

Hi! I'm new to farseer programming, and I'm starting with a small simple game.

I'm having some difficulties with adding objects at runtime.


What is the best way? I thought it was creating a control and adding behaviours with physics helper at Expression Blend, and then adding the control would have the physics behaviours.

But if I do that way, I get an error when running the application :(

I tried also doing everything by code. And it works fine if I add a shape (ellipse for example), but if I try to add a image... that's no good.


Can you help me with this simple things? :)


P.S.: I'm programming in VB .NET.