Move an actor in his local axis orientation using blueprint

Hey there!

The way I’d do this is to simply calculate a new position for my object based on the forward vector which points along the local X axis of the object.

Simply multiply the forward vector by the amount you want to move the object, this will return a vector for you, now add this vector to the current position of your object and you’re done, you can now set your actors location to this new vector you just calculated. I’ve included an example that will move my object 4 units along it’s local X axis every second (So it moves in the direction it is facing).

I hope this helps! If you have any further questions please let me know.

5 Likes