I have a vehicle with a turret. I want my turret to look at the mouse cursor while moving with the vehicle. I used find look at rotation for this, but when I start the game it works very well when I don’t move, but if I move the vehicle and start moving the turret at the same time, the turret starts to deviate from the cursor. I set the sphere object that appears in the codes to the mouse cursor
You probably get some vectors wrong. Use line trace and turn on debug draw, First line trace from turret to where cursor is (location to location), then second draw in direction to mouse cursor but using look at rotation (make forward vector of turret, multiply it by 1000-2000, rotate by look at rotation, and draw from turret location to turret location plus that vector).
Check if you have all locations for tank, turret and mouse as WORLD locations. If you mix local and world everything will work as long as you do not move tank from 0,0,0. When you move if away world location will be different than local location.