So the joint I was considering making is something like a dynamic joint, where the constraints change every frame. I already use the prismatic joint to get the effect I want, but it would be nice if I could alter the prismatic joint slightly to get the full effect I want.
I am using a prismatic joint as a "sticky" joint, where it constrains you to a surface. Since it has to move from fixture to fixture, there's not much sense in trying to make a static joint to a fixture or body. So I fix the prismatic joint to the world static body, and every frame set the axis that allows motion to the axis of the surface (right angle to normal). This works excellent for a platformer because I get to use the joints motor to create locomotion, and the player hugs the floor and doesn't fly off ramps going up. Also they do not slow down, because I am setting the motors speed, so the motion is very smooth.
A problem I have though is that the prismatic joint stops gravity, so there isn't any friction on the surface anymore, due to the lack of normal force. Right now I am computing what the force should be based on the prismatic joint's force, and subtracting that from the motors max force. Works out, but is a bit hairy.
What would be nice, is a sort of dynamic joint, where I set an origin, and an axis. Then the joint would have 2 motors, that act along the axis, and the skewed (right angle) axis. Also I could set limits, so the position can't go above or below a certain point. The the joint would have functions to set the origin and axis every frame, so it would change every frame.
With a joint like this, I could use it like a prismatic joint when a character is on the ground, and have an upper limit of zero (keeping the player on the ground) and no lower limit (player can still have gravity pull them towards the ground). Also this same joint could be used for locomotion in the air, by having no limits for the y axis, and have the motor set the locomotion speed in the x axis (based on the analog stick). Then every frame I would just have the origin move to the player's origin. Also this would be nice because I could set the max impulse on the motor if I wanted it to be more difficult to run up ramps, and it would all be wrapped up in the box2d solver.
Right now I compute the impulse needed to set the players speed in the air, out side of the simulation step, but that only gets on iteration of solving with respect to the other constraints per step.
Other uses for a joint like this would be in implementing a bead on a wire constraint, where all you would have to do every frame is find the closest point on the wire (a curve most likely), and set the axis, limits, and origin based on the curve (this is basically how I do the sticky joint, just find the closest ground or wall that should be stuck to with a sensor slightly bigger than the player fixture).
I found this to be a nice solution to get platformer locomotion, without having to fudge the physics in any way really.
Here's a screen shot of this system in action:

Here are some screen shots of the original game that does not have a sticky joint:


And you can download and play the original game, if you have an analog joystick:
http://www-personal.engin.umd.umich.edu ... ungeon.zip