btSliderConstraint slider axis question

RJNelson68
Posts: 73
Joined: Tue Oct 06, 2009 3:19 pm

btSliderConstraint slider axis question

Post by RJNelson68 »

Is there a way to set the axis a btSliderConstraint slides along or do you just have to rotate it to the angle you want?
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: btSliderConstraint slider axis question

Post by Erwin Coumans »

You will need to adjust the constraint frames, relative to each object (frameInA, frameInB).
RJNelson68
Posts: 73
Joined: Tue Oct 06, 2009 3:19 pm

Re: btSliderConstraint slider axis question

Post by RJNelson68 »

Thank you, I thought that was the case.