Can I force a constraint to move Kinematic object ?

Post Reply
allenshen
Posts: 6
Joined: Mon Jan 28, 2013 2:51 am

Can I force a constraint to move Kinematic object ?

Post 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.
norbie
Posts: 21
Joined: Mon Feb 11, 2013 1:57 pm

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

Post 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 ) );
Post Reply