I want to manipulate object using constraint with specific maximal force.
I checked btGeneric6DofConstraint Class Reference http://www.bulletphysics.com/Bullet/Bul ... raint.html but there is written
So I end up building my own translational motor. After some time I've successfully made it but it was mass depend (I used mass, max force and target velocity for acceleration and force calculations).At this moment translational motors are not supported. May be in the future.
Later I checked bullet sources and find out that motor should work so I tried to enable motor, set max force, free axis and set desired velocity for constraint and guess what, It works. So I am confused.
Another question is about velocity
I want to move rigid body from altitude 5 to altitude 10 so I set up target_velocity 10-5 = 5
When I set positive velocity on Y translational motor of constraint (frameInB is identity) object is in moving negative Y direction (X and Z works OK)