Missing b2LineJoint

Hello Erin,

I can work around it, no biggie, but I miss the b2LineJoint. The b2WheelJoint doesn't have the vertical limits, although the motor and suspension is nice.

-Tim
I originally made the line joint for you. When I realized that people were trying to use it for vehicles, I thought I could do a better job. Are you still wanting to use the line joint for vehicles?
just my 2 cents...

A joint that had the current wheel joint features, plus the capabilities of a prismatic joint for the translational movement would be ultra kick ass.
With the currently available joints the best available options are:
- wheel joint + fixtures to act as limits (lacks linear motor, extra setup required for fixtures and collision filters)
- prismatic + revolute (lacks the suspension feature, requires intermediate body)
- prismatic + revolute + distance (requires intermediate body)

These options are not so bad for those already familiar with Box2D so I wouldn't say there is a pressing need for such a combined joint. It would make things much easier for newcomers though. In particular the options using an intermediate body require some careful setup (the intermediate body should have mass but usually no fixtures) and affects the behavior somewhat (intermediate body mass cannot be too small relative to those it is bridging between).

Most likely the wheel joint is mainly used for vehicles but it is also quite suited to making player characters too, eg.
http://www.ludumdare.com/compo/ludum-da ... w&uid=7091
That uses an impulse to jump, but if the wheel joint had a linear motor to allow jumping it would be an easy one-stop solution for a genuinely physically modeled character - by which I mean jumping would be done with the linear motor to push the two bodies apart, instead of with forces or impulses.

Original thread: https://box2d.org/forum/viewtopic.php?t=7991