How to create a circle movement around one location for the thirdperson character?
Copy this code and you should be able to achieve what you want. The "roam point" that is a blackboard key converted to a vector, you would just need to replace that with a static location of your player start position, so make that a variable and save it. Circle center is where the circle's center is, simple enough, radius is how large you want the circle to be, the angle is how far along the circle's circumference in degrees you want the player, so this will need to be a variable that you add incrementally to on tick or with a timeline/timer etc. And the output vector (after the addition) will be the location on the circle where you move the player. You can use the "set world/actor location" node and you should have smooth circular motion around a fixed point. This works in 3D so your player can rotate about any axis define by the plane that passes through the circle center and the location of your player.
answered Feb 19 '19 at 04:21 PM
Nebula Games Inc
Follow this question
Once you sign in you will be able to subscribe for any updates here