How to make a fixed joint?

spiritkay2010
Posts: 1
Joined: Fri Jan 08, 2010 3:26 am

How to make a fixed joint?

Post by spiritkay2010 »

I use btHingeContraint, and already setLimit(0,0).
But the hinge is not secure.
How to make joints are not affected by gravity, not bent? I want the fixed joint!!!:(
kmon7485
Posts: 11
Joined: Mon Jan 04, 2010 5:48 am

Re: How to make a fixed joint?

Post by kmon7485 »

You can try making the object a static one instead of dynamic, then it shouldn't be affected by gravity, and you
can still have it as a hinge
aclong
Posts: 3
Joined: Sat Jan 16, 2010 4:54 am

Re: How to make a fixed joint?

Post by aclong »

Have you made any progress on this? I am interested in this, too. I can't use the suggested fix (make one static) because I need to "glue" two dynamic objects together.

Thanks.

- Chris
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: How to make a fixed joint?

Post by Erwin Coumans »

The best way to create a fixed joint is using the btGeneric6DofConstraint, and set all upper a lower limits to zero.

Thanks,
Erwin