I apologize if this has already been answered, but I couldn’t find a solution to this problem searching the forums or google. I should also point out that I am a total beginner in Unity and the solution may be really simple, but yet it escapes me.
So here’s the deal. I want to make a 2.5D game, using only 2D models (Sprites) for my characters, environment etc. Think Captain Commando for example.
I’ve tried having a plane for terrain and have my sprites walking on it, but 2D and 3D colliders don’t play nice with each other. I came across this suggestion http://forum.unity3d.com/threads/204770-2-5d-sprites :
But that seems like a waste of the whole Sprite and easy animations system. And since 2D colliders refuse to rotate around the X axis (?), they’re out of the question too. Is there a better solution than that one?
One thing I came up with was to rotate the Sprites and attach them to a plane or similar 3D object and then try to work with 2D unrotated colliders in combination with 3D colliders and somehow make it work, but I hope there’s something simpler and easier.
Depends on what you want to achieve. You can always keep the base GO of a player at ground level (think it of a place where the shadow would be) and offset child GOs with renderers and colliders for the jump, then compare heights.