Page 1 of 1

Can I force a constraint to move Kinematic object ?

Posted: Wed Jan 30, 2013 8:28 am
by allenshen
Hi all,I new to bullet recently.
Now I create a constraint join two kinematic object because I don't want the gravity influence them when I motor the constraint.
But it haven't got the method to move force the constraint when the objects are kinematic.
Any body can tell what should I do?thank you.

Re: Can I force a constraint to move Kinematic object ?

Posted: Wed Feb 20, 2013 1:21 pm
by norbie
Hello,

maybe you could try to turn off gravity for those rigid bodies instead of making them kinematic, if that is the real problem:

Code: Select all

		btRigidBody *rigidBody = ...;
...
		rigidBody->setGravity( btVector3( 0, 0, 0 ) );