I am trying to move the actor using Add Force by multiplying the direction obtained by Get Unit Direction.
However, I want to remove the force on the actor’s forward vector, because I want to change the velocity in a different way.
In other words, I want to add force only to the Y and Z axes in local space. Otherwise, the forward speed will change depending on the movement of the Y and Z force strengths.
I thought I could just divide the forward vector from the Get Unit Direction, but this didn’t work.
What is the correct way to do this?
1 Like
1 Like
Aaah, this is really simple and useful! Exactly what I was looking for.
Thank you very much!
1 Like
Corrected it because I keep forgetting about Normalization
.
1 Like