3D Movement Vector

Often, when trying to do character movement control, you'll want to create a 3D movement vector. It should return the strafe (left-right movement) in X, and the move (back-forward) movement in Z.

Then, you'll want to multiply it by a speed. This speed could be different depending on whether the player is walking on running.

To create such a vector in Bolt, you could use the following flow graph:


Then, you could use it as a super unit:


This article was helpful for 13 people. Is this article helpful for you?

IĀ figured this part out myself, but I'm having trouble getting the input axis relative to the camera.