You can lock Static Mesh to any pawn.
You can set the target locking speed, the allowed rotation angle, and the mesh return to the default position when the target is not reached.
https://dev.epicgames.com/community/learning/tutorials/PbKm/unreal-engine-let-s-make-a-cannon-gun-using-ue5-modeling-tools-and-lock-it-on-target
1 Like