How to add force ignore the actor forward vector?

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

Inverse Transform Direction to local and multiply the vector by 0,1,1 → apply. Something close to :crossed_fingers: :

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. :expressionless:

1 Like