I'm trying to setup a simple slider constraint (using btSliderConstraint) between a static and a dynamic object. The user inputs a starting point (which is the location of the static object), an axis vector and two linear limits, all based on the global coordinate system. The limits are easily set through setLowerLinLimit/setUpperLinLimit, but I haven't yet figured how to set the sliding axis. I've noticed that in order to achieve that, I have to change the transform parameters passed to the constraint constructor.
I am not very familiar with physics engines, so it's not very clear to me what exactly those transforms mean for the contraint. I was wondering if anyone could help me understand them
Thanks in advance
Krones