btSliderConstraint: break when reaching limit.

Post Reply
SeriousToys
Posts: 4
Joined: Fri Feb 10, 2012 2:07 pm

btSliderConstraint: break when reaching limit.

Post by SeriousToys »

Hi all,

I am using a powered SliderConstraint to translate a body over an axis. However, I notice that when the body almost hits the linear limit, it somehow slows down.

I would like to disable that behaviour: I want it to reach the target with a rather high speed.

How to implement this? I have tried using the setSoftness..., setDamping..., and setRestitution... methods, but I don't seem to get closer to the behaviour that I'm looking for...

Any help would be appreciated...

Regards,
Robert
Post Reply