XNA Creators Club Online
foros de la comunidad
Page 1 of 1 (3 items)
Sort Posts: Previous Next

Farseer Physics

Last post 07/11/2009 17:08 by Joopsy. 2 replies.
  • 07/11/2009 16:04

    Farseer Physics

    Hi,
    Does anyone know how to use the farseer physics engine?
    I tried to add the farseer file to my project and added the lines:

    using FarseerGames.FarseerPhysics;
    using FarseerGames.FarseerPhysics.Collisions;
    using FarseerGames.FarseerPhysics.Dynamics;
    using FarseerGames.FarseerPhysics.Factories;

    but the complier doesnt recgonise these, i dont know why though because i copied them from the farseer examples on the site, does anyone know how to add the engine properly?

    Thanks,
    Eamonn

  • 07/11/2009 17:03 In reply to

    Re: Farseer Physics

    I haven't used Farseer, but it doesn't come with XNA Game Studio. It is a separate download. You need either the dll file or the Farseer project and add it to the list of references in your game project. Once you've done that and it's done correctly, the compiler should recognize those lines.
    Canno-Blast in playtest
  • 07/11/2009 17:08 In reply to

    Re: Farseer Physics

    Have you added a reference to the Farseer project?

    (the Using lines just make it easier to reference the Farseer classes)

    If you expand the "References" folder, can you see Farseer?

    You can either add a reference to the project or the DLL, I advise adding the project to the solution, and then adding a refernce to the project.


    Hope that helps

    J.
    In playtest Flite
Page 1 of 1 (3 items) Previous Next