my btSliderConstraint doesn't collide

Post Reply
HJack
Posts: 1
Joined: Thu Feb 09, 2017 9:20 am

my btSliderConstraint doesn't collide

Post by HJack » Thu Feb 09, 2017 9:26 am

Hello!

I have a btSliderConstraint between two bodies. These bodies can have arbitrary masses. I want to move the slider at the same speed (~5-10) regardless of mass.
High speeds cause the body to either pass through objects or get them stuck inside the body. I have tried activating CCD but to no avail. Anybody have any tips on how I can combat this issue?

Edit: Since I want the same movement speed on the SliderConstraint regardless of mass, I have a very high MaxLinMotorForce set (~100000)

Thanks!

benelot
Posts: 349
Joined: Sat Jul 04, 2015 10:33 am
Location: Bern, Switzerland
Contact:

Re: my btSliderConstraint doesn't collide

Post by benelot » Sat Feb 11, 2017 11:40 pm

Wht is your physics step? Maybe everything is just so fast that everything has to tunnel through everything else. Furthermore, what are trying to simulate that you want the same movement regardless of mass?

Post Reply