[SOLVED] Locking rotation on an object with only Nodes?

I’m trying to make a tank game.
The tank is controlled with WASD.
The turret is looking on a target.
The target is moved with Mouse.

The turret is rotating on all axis. I just want it to rotate on the Z axis.

Is it possible with only nodes?

I have tried setting Angular Factor under Physics - Armory Probs to 0 on X and Y. But still not working.

This is the solution:

Thanks to QantumCoderQC

This is the full node setup. Working smoothly…

One gets the feeling that the world needs simulators to train space marines. Signals of intuition)))
( Camera wasd
managing the sun r/t/f/g/v/b)