Set Actor Foward Vector
I was just wondering if there is any way to set the forward vector on an actor? What I'm trying to accomplish is I'm handling input from the joystick (both x and y axii) and I want to set the forward vector to point along that direction so he will rotate with the joystick's location.
If this isn't possible, can anyone give me an idea of how to do that?
Thanks a bunch.
asked Aug 29 '14 at 05:08 AM in C++ Programming
Take a look:
This code returns X vector from Root Component, when You set
SetActorRotation will update Forward vector axis X too.
And If you want to rotate actor that he will point some direction, you can do something like this:
answered Aug 29 '14 at 06:38 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here