So, for all intents and purposes, lets say im rigging a turret.
I want it to follow a locator. to do so i have 2 joints on top of one another (one parented under the other), the first aim constrained on the Y axis (Z is aiming) and the second constrained on the X axis. this works, but breaks and flips out after i turn further than 45 degrees from the resting position.
i did have just one joint constrained to both X and Y originally, but that still rotated the Z axis of the joint and looked terrible.
anyone have a script or something for this? or know how to do it properly?