ai Z axis restriction

I’m making a 3D topdown space shooter and I’d like to restrict any movement along the Z axis (up/down) to zero.
Is there any thats possible via the logic bricks? If no, could somebody direct me to a tutorial that could show me how th achieve that in Python? (since I hardly touch python…)Fighter for game.blend (657 KB)Fighter for game.blend (657 KB)

If your object uses physics, there are options to lock translation under the physics tab on any of the 3 axes.

If it doesn’t use physics, then simply don’t move it on the z-axis. Nothing is going to force it to move.