# Putting recoil along the rotated axis 

**URL:** <https://forums.unrealengine.com/t/putting-recoil-along-the-rotated-axis/2682716>\
**Category:** Blueprint\
**Tags:** unreal-engine, Blueprint, question\
**Created:** [December 6, 2025, 11:27pm UTC](https://forums.unrealengine.com/t/putting-recoil-along-the-rotated-axis/2682716 "2025-12-06T23:27:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![L0neLY7](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@L0neLY7](https://forums.unrealengine.com/u/L0neLY7)\
**Post date:** [December 6, 2025, 11:27pm UTC](https://forums.unrealengine.com/t/putting-recoil-along-the-rotated-axis/2682716/1 "2025-12-06T23:27:23Z")

</div>

Hello Devs,

I am totally new to UE, like extremely new so I need a help.

I want my object, which is a gun, move back on -x axis upon shooting. Now I can rotate my object using Left and Right Arrow key. After rotating, the gun doesn’t travel on rotated x axis but on initial x axis. So please help me on this! Thanks!

Reference video and blueprints are there in the link:

[New User so can’t attach video or image.](https://drive.google.com/drive/folders/1xgCZu6u5D97RsuUGNJyETxx2P-deLsyc?usp=sharing)

---

<div class="post-metadata">

**Author:** ![dZh0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dZh0](https://forums.unrealengine.com/u/dZh0)\
**Post date:** [December 7, 2025, 12:23am UTC](https://forums.unrealengine.com/t/putting-recoil-along-the-rotated-axis/2682716/2 "2025-12-07T00:23:17Z")

</div>

Hey L0neLY7,

Welcome to the forum!

In order to do what you want you’ll have to extend this part of your blueprint:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/d/c/adc89eb2672cb7ddeab521670b3c494bd4b57453.jpeg)

Here instead of directly adding impulse (-100.0, 0.0, 0.0) you should add it relative to the gun. The simplest way is to get its forward vector and to multiply it by -100 (which will make it point back) like so:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/e/28e4702f393c45d186b20ede1d8b0e8acd075284.png)

---

<div class="post-metadata">

**Author:** ![L0neLY7](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@L0neLY7](https://forums.unrealengine.com/u/L0neLY7)\
**Post date:** [December 8, 2025, 1:59am UTC](https://forums.unrealengine.com/t/putting-recoil-along-the-rotated-axis/2682716/3 "2025-12-08T01:59:12Z")

</div>

dZh0, thanks for responding to this. I am late to reply cause I have been trying to implement your idea but it seems like I am catching myself in lot of complexities like differences in Scene Component nodes, Actor nodes, etc etc. I will try to find a way and if not then I will get back to this forum for help. PS: your help really means a lot, thank you!
