Fixed Distance+Revolute Joints

Topics: User Forum
Jan 25, 2011 at 8:53 AM
Edited Jan 25, 2011 at 8:57 AM

Hello,

I have a body in world at some position and a fixted distance joint with the world and this works great.

I want to contain that body within specific angles (the gray-like shaded area). When i attach the fixed revolute joint the fixed distance joint seems to stop working and the circle is translated at the edge of the screen.

( see http://img3.imageshack.us/i/test1yp.png/ )

 

Suggestions and ideas are welcomed.

Makis

Coordinator
Jan 25, 2011 at 12:55 PM

Make sure each of the joints work by themselves (remember to check the anchors). If the two joints fight each other, crazy stuff happens. You can implement the DebugViewXNA project to show what happens inside the World.