Kinematic Objects in Farseer

Aug 8, 2010 at 3:05 PM

Hi guys, I would like to ask, how can I declare a body which  is kinematic as the body type? I've looked through the Body.cs and I saw the Kinematic Body Type but I couldn't find out how can I declare it?

Anyone knows about that?

Aug 8, 2010 at 3:19 PM
Edited Aug 8, 2010 at 3:22 PM

I recommand you to have a look at the testBed project.

Load the Farseer Physics 3.0 solution (Samples\FP3.0\Farseer Physics 3.0.sln) and declare the testbed project as starting project.

Have a look to all the samples, and when you find the thing you are trying to do, have a look in the code. (\Tests\titleTest.cs)

In this case you'll find what your looking for in the BodyTypesTest.

 

myBody.BodyType = BodyType.Kinematic;
 

Enjoy,

 

Aug 8, 2010 at 3:28 PM

Ya 1 more thing, after I included all the Farseer 3.0 into my project, I found out that there is no more physics simulator ? what happens? and also Geom objects has been removed??

 

Aug 8, 2010 at 5:24 PM

check the box2d manual : http://box2d.org/manual.html

this is how farseer 3.0 works.