Hi all, I’m using look rotation and slerp to move a tank turret slowly towards a crosshair. I’m wondering if anyone could help me figure out how to lock the X and Z axis of the turret so if the tank is at an angle, the turret follows the tank’s angle. Here’s how I have it moving:
I can throw the tip - if you want this to work well you need to do this with local rotation and reset angles on other axis. In addition I think slerp can’t do that well as it might want to use shortcut. Also if you need to stablize on other axis you might need to remap position (cast on plane).