How moving rigid-bodies? They connected with hingeconstraint

horvatha4
Posts: 14
Joined: Sun Jun 16, 2013 3:52 pm

How moving rigid-bodies? They connected with hingeconstraint

Post by horvatha4 »

Hi Eweryone!
There is two rigid-body A and B. They connected with btHingeConstraint, construct C1 object. I construct they at the origo(0,0,0). Than I would set a new world position before the first simulator step.
I call A->setWorldTransform( ... );
or
A->proceedToTransform
or
A->getMotionState->setWorldTransform(...)
all is ineffective.
The object C1 is left its original position, and C2 and C3 too. They collide each other and the simulation is blow up...
Can I move rigid bodies?
horvatha4
Posts: 14
Joined: Sun Jun 16, 2013 3:52 pm

Re: How moving rigid-bodies? They connected with hingeconstr

Post by horvatha4 »

Problem solved!
Thank You!
billias13
Posts: 18
Joined: Thu Mar 22, 2012 9:29 am

Re: How moving rigid-bodies? They connected with hingeconstr

Post by billias13 »

do you mind sharing the solution here please?