How to make tank head move with cursor?

I have a tank model with 2 different parts; the tank and body. the entire tank itself moves with wasd but I wanna know how to make only the tank head look around with my cursor without doing a full 360. Just from a little to the left to a little to the right if that makes sense. Like a WoT tank. Any ideas?

Not sure if you want use mouseX axis as axis input.
Or turret to track mouse cursor.

For mouse x axis, just add input use for it mousex and call it turn_turret

For tracking mouse cursor look into top down template it has mouse cursor and player walks to its location. For finding turret rotation use “look at location” node to calculate all rotations of turret.

1 Like

thank you! do you think you can show me an example of what the xaxis imput would look like in blueprint?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.