creating a seesaw

Topics: Developer Forum, User Forum
Jul 11, 2012 at 3:31 PM

Hello Community,

I am going to create a physic-based game with the farseer-engine.

Now to my problem:

http://www.abload.de/img/farseerpfjsm.png

As you can see on the picture, i created a seesaw, but the horizontal body, is not connected to the circle, and so it looses position.

Is it possible to connect the horizontal body to the circle body, so that the stay at the same position, but they should still be able to seesaw.

 

I hope you understand my problem!

Thank you

Jul 11, 2012 at 10:33 PM

You can make the circle static and connect them with a revolute joint through their centers setting appropriate lower and upper limits if necessary. They will overlap that way but the effect is probably what you really want (otherwise what's the purpose of the circle below the rectangle?). If you enable the joint's motor and with MotorSpeed=0 and MaxMotorTorque to some small value it will simulate friction (like a "rusty" old seesaw).