Change forward vector

Hello,

I would like to get the forward vector of a character and add values to it, and make the character always go in the forward way, so it moves.

But I don’t know how to get the forward vector, I mean, I know that I need Get Actor Forward Vector, but I don’t really know what to do with it. :confused:

Thanks in advance !

I’ve been using Unreal for a couple months now but I think I can help you. I would suggest using a timeline for constant speed. I know you could use Event tick, but I’ve heard bad things about using it for a lot of things at once, but the Timeline will help you control what you can do. You can check the documentation for how it works, but basically you would make an event in the timeline at 0.0 so once the timeline is called, the event begins.

This is a rough idea, but basically whatever starts him to move would connect to the Play or Play from Start node and the update to the Add Movement Input which would…constantly add an input. The scale value is what actually makes him move and the world direction is the same as in the First-Person or Third-person template. Between the Break Rotator and Make Rotator you could add values so you can affect it in how you want it…I think. I did it before so probably yea?

So yea, hopefully that helps and good luck!

Wow. I admit I’m really new to UE4 (I started one week ago) and I don’t understand everything you said. Though, I will try to use the Timeline node, but for now I need to get my character (which is not the player character) walk where it is facing. I still don’t know how to do this and I’m very confused about Get Forward Vector.
I think you didn’t understand what I was asking for, or maybe I didn’t understand what you told me, but I think I simply didn’t ask correctly what I needed.

There must be something really wrong with what I did. THIS is not even working : http://puu.sh/nlnDS/a653407879.png
I have no idea why, it should work. I have a nav mesh bound volume in my scene, everything should be ok :confused:

It’s an AI? Then I’m not sure. I probably did mistook what you said but unfortunately I’m not familiar with Artificial intelligence stuff. Sorry if I mislead you.