Mouse controlled gun
Instructions:
(make sure to use robotic pivots)
Connect a toggle button to the "ACTIVATE" node
Connect "look x" on the helm to the "look x" on the controller
Connect "look y" on the helm to the "look y" on the controller
Then connect the "pitch" on the controller to the "Rotation target" on the pivot that moves on the y axis
finally connect the "yaw" on the controller to the "Rotation target" on the pivot that moves on the x axis