PinJoint/RevoluteJoint Bug

Feb 22, 2008 at 3:09 PM
Hi all, I am new to using Farseer Physics Engine for XNA. I am trying to create a trapeze/swing by using a pinJoint. When an object hits the trapeze, the trapeze continues to swing without losing its speed. Gravity is enabled and the problem is still present even when using a revolute joint.

Here is a video of the bug.

http://www.teamtall.dreamhosters.com/image/swing.wmv

http://www.teamtall.dreamhosters.com/image/swing.jpg

Thanks in advance!
Coordinator
Feb 22, 2008 at 5:32 PM
Try adding some rotational drag to the bodies. Body.RotationalDragCoefficient

Default is .001 i think. Try .01 or .1 or whatever gives you the "feel" you want.
Feb 23, 2008 at 12:03 AM
Hi crashlander, Thanks for the fast reply :) but by having Body.RotationalDragCoefficient dosen't work :( but i came a cross Body.LinearDragCoefficient and it works :P