# Is there a way for applylinearimpulse() to be done in the local direction?

**URL:** <https://forums.unrealengine.com/t/is-there-a-way-for-applylinearimpulse-to-be-done-in-the-local-direction/2693741>\
**Category:** Programming & Scripting\
**Tags:** unreal-editor-for-fortnite, fortnite-creative, fortnite\
**Created:** [January 21, 2026, 1:55am UTC](https://forums.unrealengine.com/t/is-there-a-way-for-applylinearimpulse-to-be-done-in-the-local-direction/2693741 "2026-01-21T01:55:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![RandomFoghorn](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RandomFoghorn](https://forums.unrealengine.com/u/RandomFoghorn)\
**Post date:** [January 21, 2026, 1:55am UTC](https://forums.unrealengine.com/t/is-there-a-way-for-applylinearimpulse-to-be-done-in-the-local-direction/2693741/1 "2026-01-21T01:55:17Z")

</div>

Right now ApplyLinearImpulse only works through the world space coordinates. But if ‘m making a golf game I first have to align the world with the fortnite coordinates and all the holes need to be pretty straight. There is no “aiming” persay. Is there a way where it can just shoot the ball at the objects forward instead of the vector3 being aligned to the world coordinates.

I was thinking of the GetLocalForward() and then using the RotateVector() but I’m not sure that is what I need.

---

<div class="post-metadata">

**Author:** ![oddbasil](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/oddbasil/32/1144054_2.png) [@oddbasil](https://forums.unrealengine.com/u/oddbasil)\
**Post date:** [January 21, 2026, 10:23am UTC](https://forums.unrealengine.com/t/is-there-a-way-for-applylinearimpulse-to-be-done-in-the-local-direction/2693741/2 "2026-01-21T10:23:42Z")

</div>

I’m not entirely sure, but maybe the `TransformVector` function could help you.

[Verse API reference page for the TransformVector function | Fortnite Documentation | Epic Developer Community](https://dev.epicgames.com/documentation/en-us/fortnite/verse-api/unrealenginedotcom/temporary/spatialmath/transformvector)

---

<div class="post-metadata">

**Author:** ![RandomFoghorn](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RandomFoghorn](https://forums.unrealengine.com/u/RandomFoghorn)\
**Post date:** [January 21, 2026, 2:14pm UTC](https://forums.unrealengine.com/t/is-there-a-way-for-applylinearimpulse-to-be-done-in-the-local-direction/2693741/3 "2026-01-21T14:14:22Z")

</div>

So actually if you multiply the vector by the objects rotation the forward will be based on the objects local forward
