2DWorlds Forums
Many kinds of joints - Printable Version

+- 2DWorlds Forums (http://2dworlds.buildism.net/forum)
+-- Forum: 2DWorlds (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=4)
+--- Forum: Suggestions (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=19)
+--- Thread: Many kinds of joints (/showthread.php?tid=5865)



Many kinds of joints - noob007 - 06-16-2011

Box2D seems to support all of these:

1. Prismatic joints
2. Revolute joints
3. Distance joints

etc.

They would be cool to have. It would allow the creation of soft bodies and springs, too.


RE: Many kinds of joints - Jacob__mybb_import1 - 06-16-2011

If you use a FixedPosition object, it's actually creating a distance joint with the world as the second object.

Prismatic joints are cool, but I don't know a good way of creating them with the UI.


RE: Many kinds of joints - Login - 06-16-2011

(06-16-2011, 02:06 AM)Jacob_ Wrote: If you use a FixedPosition object, it's actually creating a distance joint with the world as the second object.

Prismatic joints are cool, but I don't know a good way of creating them with the UI.

So you're having trouble with the picture or the coding? If it's a picture, I'm a 2D artist myself, I make all sorts of sprites, and other cool things.


RE: Many kinds of joints - Jacob__mybb_import1 - 06-16-2011

Not the coding, but the way you add them in the editor.