Hi there,
I have a few questions concerning the 6dof motors:
When setting the targetVelocity of the btTranslationalLimitMotor to 0 it still slowly sinks to the ground due to gravity.
It doesn't matter how high m_maxMotorForce is set, the object will steadily move in direction of gravity.
How can this be fixed?
Is there a way to set a targetPosition for the motor?
If not: Where would be good place to put an update method that changes the target velocity accordingly every simulation step?
pfanne wrote:Hi there,
I have a few questions concerning the 6dof motors:
When setting the targetVelocity of the btTranslationalLimitMotor to 0 it still slowly sinks to the ground due to gravity.
It doesn't matter how high m_maxMotorForce is set, the object will steadily move in direction of gravity.
How can this be fixed?
Is there a way to set a targetPosition for the motor?
If not: Where would be good place to put an update method that changes the target velocity accordingly every simulation step?
Just wanted to confirm it also occurs for the RotationalMotor as well. I'm wondering if this is related to the changes made last year to force integration, or if it was always present.
I'm having the same problem with bullet version 2.77 so the problem isn't really in new code. Actually it's good that you posted the problem here because I thought it was some sort of a bad feature.