So, I'm making a 2D Platformer. I've been able to add some nifty features, but lately I've run into a problem. I would like my character to only move on the X and Y axis without any movement in the Z axis. Everytime I collide with a box, my character falls off the platform on the Z axis which I don't want. I've heard about configurable joints, but I'm still unclear about this all.
Thanks In Advance
asked Jun 26 '10 at 01:46 PM
This question has been answered in multiple places before. There are 2 common solutions. One, in your player code, every frame call:
or you can add a configurable joint. Then go to z motion and choose locked instead of free or limited.