Add impulse relative to the objects rotation

My Head is Hurting!
I know the answer is so, so simple but i just cant remember.

SHORT STORY.

Ive made an actor blueprint, This is a boost (Forward) Pad on the floor

it works great!
However because i’ve added a force of -5000 on the X value when i place the item in my world and decide to rotate this the boost direction does not update. it sends me along the world X axis! and not the objects X axis.

Ive been playing with this for hours now and its driving me crazy!

Please help.

1 Like

Thankyou so much! <3

works perfectly now!
My brain just froze lol

Thankyou @the_batch
<3 we got there , ive been bashing my head off the deck for a while lol

You can get the booster’s forward vector and multiply it by whatever force amplitude (a float) you want to give it and feed that to the add impulse.

1 Like

How about the Get Actor Forward Vector node?

It will provide you a world-space vector that corresponds to an actor’s local forward direction. In your case, it should provide you the forward vector for your boost pad, no matter which way you rotate the pad.

Give that a try and let me know how it goes!

Looks like I was slightly too slow! @DmitriAzimov got it.