How do I make an object rotate to AI character
So I have a turret but I cant figure out how to make it rotate to an AI not me the player? Any Ideas?
asked Feb 02 '18 at 05:38 AM in Blueprint Scripting
You need to get the position of your AI character and the position of the turret, then use Find Look at Rotation to calculate which rotation you need to apply to the turret to point that AI character. Finally you apply that rotation to the turret.
answered Feb 02 '18 at 09:49 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here