2D SideScroller Question

How do I make sure everything stays on the x-y cordinate plane? If i'm using real 3d objects but only have a 2d side facing camera ?

Thanks.

Have you seen the platform tutorial? It does exactly this. Here.