How to move Character around a circle
I Every one , after a long research on the AnswerHub , forum , youtube tutorial, and everywhere on the internet i come here to ask your help because im completely out of idea to make ma character move round a circle.
I have try to many think to explain here all test i have do.
So I juste want to move my character ( my character is a spaceship ) around a circle using ( or not ? ) add movement input, the character can just move around this circle and have to not be able to move out this circle.
I have try with :
I can't use a Pawn Class because i use many settings in "Character movement component"...
I let you a video of a game who did this because , you will can see what i really want to do.
I really new in UE4 and i have passed the 4 last days to try it but i'm a little desesperes ....
PS : Sorry for my english im French.
Hello! Using a point as an origin (you can move that point, along a spine for example), you can offset the player using this kind of trigonometry: You just need to calculate the angle! P.S. Look at atan2 if you want to do the "reverse" thing
answered Jun 17 '16 at 09:19 AM
Hello from Argentina, try whit this blueprints whit rotate in 120.0
answered Nov 17 '17 at 05:53 AM
To be honest if you are trying to a result like the game you linked you are better off using SetActorLocation instead of the CharacterMovementComponent. Or you could attach your character mesh to a spring arm have your spring arm be at the center of your actual actor, then rotate the spring arm.
answered Jun 17 '16 at 08:08 AM
If I understand you correctly, it sounds like you should just use some basic trigonometry to move the character around a unit circle. You can then use SetActorLocation to set the characters location around the circle. Let me know if you need further help or if you are unclear on what a unit circle is.
answered Jun 17 '16 at 08:24 AM
I have try all the solution you all mention here but i just can't success to do work one of her ...
Im really lost and i don't know what to do i don't have any idea :s
answered Jun 17 '16 at 11:50 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here