How to rotate a character around an objects using keyboard inputs ?
I want my character to rotate around a "target" which is an other pawn but I have some difficulties. Indeed, when my character rotate around its target, the distance between these two increase more and more. The best I could do make an increase around 1 unit per second.
Here is a shema, where :
Here is my blueprint which permit me to rotate the character around the target : "delta" is the half of the angle between [CP(n)] and [CP(n+1)].
I hope my blueprint doesn't confuse you (like "why delta is multiplied by 5.1?" well I don't know either why) but it's the one which is giving me the best results.
Could I have some advice to optimize my blueprint and about the way to rotate a pawn around an other please ?
asked Oct 16 '14 at 02:31 PM in Blueprint Scripting
Why not place a target point in front of your follower and use a "Simple Move To Location" node?
answered Oct 16 '14 at 03:44 PM
Here is a working example:
answered Oct 16 '14 at 08:24 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here