Any idea how can I only restrict the movement of a real-time motion captured character to only 2 axis?

Hello lads, anyone off ya’ll know how can I restrict the movement of my character hooked up to kinect using ipisoft to only 2 axis?

here’s the node graph