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

Silverlight WaterSample - GravityController

Topics: User Forum
Mar 11, 2009 at 10:35 AM
What a great looking library, just what I need (if I can work out how to use it) :-)

When I try to run the Silverlight WaterSample I get the following error:

Error    2    The type or namespace name 'GravityController' could not be found (are you missing a using directive or an assembly reference?)   C:\etc\farseerphysics-47917\Trunk\Factories\ComplexFactory.cs    FarseerPhysics

I couldn't find a GravityController class in the solution so I hunted around and found it in the trunk.  I added it but it has a dependency on XNA.  Is there any way of getting this to work without XNA?

Mar 11, 2009 at 12:07 PM
Yeah, the gravitycontroller is new and not yet included in the silverlight solution. Thanks for notifying me.
Mar 11, 2009 at 11:01 PM
Yeah, sorry about that. I'm an XNA guru and dont really work with silverlight (although ive heard you can embed XNA games into webpages with WPF or silverlight or something).