Defining constraints along lines

kc297
Posts: 4
Joined: Wed Jul 13, 2011 6:26 pm

Defining constraints along lines

Post by kc297 »

Hello,
I am trying to define a slider constraint along a line defined by two points, using the
btGeneric6DofConstraint method. So given point A and point B, the body should move in the straight line connecting the points.

Has anyone solved this problem before? The documentation on the subject is pretty thin and I am very new to Bullet.