I've had some great help getting my turrets to track objects in a fairly realistic manner.
However I've now added the cannons to my turrets and I want them to elevate which requires them to rotate in X only. Y and Z should be disabled. I've taken the turret rotation FSM, which works perfectly, and applied it to the cannons.
For the turret rotation I checked 'keep vertical'. This works ffine for the turret as it only needs to rotate through Y.
The cannons need to rotate only through X and inherit their Y rotation from the parent object.
But to get the X rotation I had to uncheck 'keep vertical'. So while I noiw have something close to what I require, the cannons have annoying Y and Z rotations that make it look cartoonish rather than rigid.
I've attached images and a video. In the video you'll see the foremost turret with the settings turned up high so you can see the effect exaggerated.
I hope this is clear. I need the cannons to rotate only through X and have Y rotation locked to the turret.
https://vimeo.com/71917869Thanks