btConeTwistConstraint and m_maxMotorImpulse issue

TGFX
Posts: 5
Joined: Fri May 14, 2010 1:28 pm

btConeTwistConstraint and m_maxMotorImpulse issue

Post by TGFX »

Hi,

I'm implementing angular spring dampers on both btHingeConstraint and btConeTwistConstraint using motors.

I get expected results on the hinge constraint, but I'm facing some trouble while dealing with the cone twist constraint.

I tried to set the same values in both motor target velocity and max motor impulse but the last parameter doesn't seem to be taking into account in the btConeTwistConstraint.

Has anyone faced that problem ? Any idea about how to solve that problem ?

Thanks.