# Support thread - shooter bp project

**URL:** <https://forums.unrealengine.com/t/support-thread-shooter-bp-project/126943>\
**Category:** UE Marketplace\
**Tags:** unreal-engine\
**Created:** [June 1, 2019, 2:14pm UTC](https://forums.unrealengine.com/t/support-thread-shooter-bp-project/126943 "2019-06-01T14:14:30Z")\
**Posts on this page:** 20\
**Page:** 10

<div class="post-metadata">

**Author:** ![PeaceSells](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/peacesells/32/778010_2.png) [@PeaceSells](https://forums.unrealengine.com/u/PeaceSells)\
**Post date:** [July 19, 2021, 9:27pm UTC](https://forums.unrealengine.com/t/support-thread-shooter-bp-project/126943/191 "2021-07-19T21:27:25Z")

</div>

It looks like you are using a second IK node (FABRIK) after the IK included in the project. I would instead just move the bone VB hand\_l (which is the effector target for IK already included) to the grip location/rotation before the IK already included is executed (in other words, before the TwoBoneIK nodes in the anim graph):

 ![Capture](https://d3kjluh73b9h9o.cloudfront.net/original/3X/7/e/7e7f15fc2c59481e29b9b5937245278a252ee99a.jpeg)

In this pic I’m typing the location and rotation values manually, but you could use a var (like you’re using) to input that. You can experiment with changing the settings on the right - ‘AddToExisting’, ‘BoneSpace’ - but if you’re using a var, like your transform that comes from a socket, you have to make sure the space used is compatible, as well as if you’re adding to the existing bone transform or replacing it.

Also, if your’e using bone space, you probably don’t need to grab the socket’s transform every frame, since it’s position in relation to the hand probably doesn’t change over time when you’re holding the gun.

Another important thing is that you’ll probably have to turn off that node in my pic when you play a reload anim, for example, because, since the node moves the hand away form its original position in the original animation, it won’t grab the mag at the right place and will look wrong. Just make sure you set the ‘Alpha’ of this node to 0 when playing the reload. It’s nice to also use the built-in interp option inside this node. for smooth transitions between on and off:

 ![Capture2](https://d3kjluh73b9h9o.cloudfront.net/original/3X/6/5/65854d52b649ce8497f4a10770976c5b7a1360ce.jpeg)

---

<div class="post-metadata">

**Author:** ![PeaceSells](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/peacesells/32/778010_2.png) [@PeaceSells](https://forums.unrealengine.com/u/PeaceSells)\
**Post date:** [July 19, 2021, 9:39pm UTC](https://forums.unrealengine.com/t/support-thread-shooter-bp-project/126943/192 "2021-07-19T21:39:48Z")

</div>

Hey, I can see in your pic that your Aimpoint\_Front\_1 socket has the Z axis pointing to the side. Rotate the socket so that the Z axis points up, while the X axis keeps pointing forward. All aimpoint sockets must have the Z axis up and the X axis forward.

It looks like there’s already a bone there at the front sight (which I guess came from Maya), but that’s not a problem, just rotate the socket inside Unreal.

Also rotate your FP\_Camera socket in your character’s head, so that the Z axis points up while the X axis points forward

---

<div class="post-metadata">

**Author:** ![vbs](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@vbs](https://forums.unrealengine.com/u/vbs)\
**Post date:** [July 20, 2021, 3:26pm UTC](https://forums.unrealengine.com/t/support-thread-shooter-bp-project/126943/193 "2021-07-20T15:26:37Z")

</div>

Thanks, I’ll look into this, good idea.

---

<div class="post-metadata">

**Author:** ![aoshi11](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@aoshi11](https://forums.unrealengine.com/u/aoshi11)\
**Post date:** [July 31, 2021, 2:21am UTC](https://forums.unrealengine.com/t/support-thread-shooter-bp-project/126943/194 "2021-07-31T02:21:44Z")

</div>

Hi. I would like to ask if what parameters are available for the projectiles? Will it include gravity, wind and penetration parameters in the future aside from the velocity?

I also asked in the MP about having different FOVs for aiming and non-aiming. Thank you

---

<div class="post-metadata">

**Author:** ![PeaceSells](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/peacesells/32/778010_2.png) [@PeaceSells](https://forums.unrealengine.com/u/PeaceSells)\
**Post date:** [July 31, 2021, 3:09am UTC](https://forums.unrealengine.com/t/support-thread-shooter-bp-project/126943/195 "2021-07-31T03:09:23Z")

</div>

Hello, gravity is already a parameter. Wind and penetration aren’t in the plans…

Regarding the FOV, this is the answer I posted to your question in the product page: to change FOV, you call ‘SeFieldOfView’ on the camera and type in the value you want. Do that in the EnterAiming event and in the ExitAiming event you call it again and type in the default FOV for not aiming (90 degrees in our case).

Thank you!

---

<div class="post-metadata">

**Author:** ![aoshi11](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@aoshi11](https://forums.unrealengine.com/u/aoshi11)\
**Post date:** [August 4, 2021, 10:47am UTC](https://forums.unrealengine.com/t/support-thread-shooter-bp-project/126943/196 "2021-08-04T10:47:32Z")

</div>

Hi. I have to commend again this system. I successfully transferred the recoil recovery logic to mym own character which blends FPP arm animations to a thirdperson mesh so that I only need 1 set of animations for arm-weapon and the rest are for the locomotion for the full body shadows and lower leg. I tried other recoil system/tuts before but this system really nailed it, especially the recoil recovery, and it is quite intuitive how you did that.

I am trying to get the logic out of how your weapon sway and aim offset. Looking briefly at the BPs it seems it is driven by IKs also? I am not sure if the logic I need to get is the one from the AB\_democharacter AnimGraph. My current system uses transform bone and two bone IK with certain bones on the hand and the left hand is attached to a socket on the weapon. But I currently have problems when strafing as the wrist doesn’t partially rotate to the left or right. I want to adopt your system as it is more polished. Thanks

\*\*  
I think I found it, the update graph\>directional sway?

---

<div class="post-metadata">

**Author:** ![Kirill8120](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kirill8120](https://forums.unrealengine.com/u/Kirill8120)\
**Post date:** [August 4, 2021, 2:23pm UTC](https://forums.unrealengine.com/t/support-thread-shooter-bp-project/126943/197 "2021-08-04T14:23:30Z")

</div>

Hi, If you have a discord group, please could you drop the link ?

---

<div class="post-metadata">

**Author:** ![PeaceSells](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/peacesells/32/778010_2.png) [@PeaceSells](https://forums.unrealengine.com/u/PeaceSells)\
**Post date:** [August 4, 2021, 6:29pm UTC](https://forums.unrealengine.com/t/support-thread-shooter-bp-project/126943/198 "2021-08-04T18:29:07Z")

</div>

Hey, thank you for your comments!

Yes, the weapon sway (due to mouse movements and strafing left and right) is handled in the UpdateGraph → DirectionalSway. From there the resulting rotations and locations are used in the Anim Graph to feed TransformBone nodes, which move the IK target for the gun hand.

When not aiming, it’s pretty straight forward - it just rotates the IK target and the only time it’s translated is when you’re firing and it moves backwards.

Now, when aiming it’s when it gets tricky, because I decided I should rotate it about the sight’s point, instead of letting the hand bone rotate about itself. This makes sure the sight’s point never leaves the center of the screen when the gun is rotating. So inside the DirectionalSway, in the aiming section only, you’ll find a bit of math that does that. This is ‘married’ to the CalcHandTransforms function in the gun BP, so in order for it to work properly it needs to remain married.

Another important part of this IK setup is the use of virtual bones as targets for the hands’ IKs. Unreal’s virtual bones snap to their non-virtual counterparts by default, so I have one for the right hand and another one for the left hand, this way I know they’re following the hands animations. But, in the Anim Graph, I have the chance of moving them in the direction I want depending on the situation.

---

<div class="post-metadata">

**Author:** ![PeaceSells](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/peacesells/32/778010_2.png) [@PeaceSells](https://forums.unrealengine.com/u/PeaceSells)\
**Post date:** [August 4, 2021, 8:16pm UTC](https://forums.unrealengine.com/t/support-thread-shooter-bp-project/126943/199 "2021-08-04T20:16:23Z")

</div>

Hi, I do have Discord, just sent you a private msg…

---

<div class="post-metadata">

**Author:** ![chris93king](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@chris93king](https://forums.unrealengine.com/u/chris93king)\
**Post date:** [August 11, 2021, 6:41pm UTC](https://forums.unrealengine.com/t/support-thread-shooter-bp-project/126943/200 "2021-08-11T18:41:20Z")

</div>

Hi, I just bought this kit, can I get the link to the discord please.

---

<div class="post-metadata">

**Author:** ![PeaceSells](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/peacesells/32/778010_2.png) [@PeaceSells](https://forums.unrealengine.com/u/PeaceSells)\
**Post date:** [August 12, 2021, 12:25am UTC](https://forums.unrealengine.com/t/support-thread-shooter-bp-project/126943/201 "2021-08-12T00:25:35Z")

</div>

Yes, I’m trying to send you a private msg, but I’m getting a forum error. Could you please try either private messaging me or sending me email to [peacesells\_@outlook.com](mailto:peacesells_@outlook.com)?

Thank you very much!!

---

<div class="post-metadata">

**Author:** ![aoshi11](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@aoshi11](https://forums.unrealengine.com/u/aoshi11)\
**Post date:** [August 15, 2021, 12:10pm UTC](https://forums.unrealengine.com/t/support-thread-shooter-bp-project/126943/202 "2021-08-15T12:10:15Z")

</div>

Hi again. Do you think you could add an option where we cannot spam the left mouse button/fire even if the fire rate is slow? I noticed that even if I slowed down the fire rate of auto when holding it down. I can alternatively just spam the left mouse button and it gets faster. haha Also in semi… I assume we can sort of add a gate or do once? Thanks

---

<div class="post-metadata">

**Author:** ![PeaceSells](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/peacesells/32/778010_2.png) [@PeaceSells](https://forums.unrealengine.com/u/PeaceSells)\
**Post date:** [August 15, 2021, 6:24pm UTC](https://forums.unrealengine.com/t/support-thread-shooter-bp-project/126943/203 "2021-08-15T18:24:33Z")

</div>

Hi. One way to counter this is to store the time at which you pressed the fire button (GetTimeSeconds, for example) and compare it with the time at which you last pressed the button, then only allow it to actually fire if the time difference is greater than the limit for the specific gun.

---

<div class="post-metadata">

**Author:** ![Kirill8120](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kirill8120](https://forums.unrealengine.com/u/Kirill8120)\
**Post date:** [August 19, 2021, 9:14am UTC](https://forums.unrealengine.com/t/support-thread-shooter-bp-project/126943/204 "2021-08-19T09:14:47Z")

</div>

Hey, I bought your asset, you can link to the discord

---

<div class="post-metadata">

**Author:** ![PeaceSells](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/peacesells/32/778010_2.png) [@PeaceSells](https://forums.unrealengine.com/u/PeaceSells)\
**Post date:** [August 19, 2021, 6:25pm UTC](https://forums.unrealengine.com/t/support-thread-shooter-bp-project/126943/205 "2021-08-19T18:25:37Z")

</div>

Thank you, I’ve sent it to you in a private msg!

---

<div class="post-metadata">

**Author:** ![Kirill8120](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kirill8120](https://forums.unrealengine.com/u/Kirill8120)\
**Post date:** [August 21, 2021, 12:33pm UTC](https://forums.unrealengine.com/t/support-thread-shooter-bp-project/126943/206 "2021-08-21T12:33:53Z")

</div>

![unknown](https://d3kjluh73b9h9o.cloudfront.net/original/3X/4/0/4045354f7675a08e7987b07d1a0147239abc1e2f.jpeg)  
Hey, how fix it?

---

<div class="post-metadata">

**Author:** ![PeaceSells](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/peacesells/32/778010_2.png) [@PeaceSells](https://forums.unrealengine.com/u/PeaceSells)\
**Post date:** [August 21, 2021, 7:03pm UTC](https://forums.unrealengine.com/t/support-thread-shooter-bp-project/126943/207 "2021-08-21T19:03:45Z")

</div>

If you’re referring to automatic folding of the arms when touching a wall, I can make suggestions but I don’t have details as I haven’t done it myself (it’s not in the product’s list of features). You could use a collision event of the gun (ActorBeginOverlap?) to trigger a code that you do in the Anim BP to move the right hand IK target (VB hand\_r) to somewhere closer to the character (through a TransformBone node?)

But all that would have to be tested…

---

<div class="post-metadata">

**Author:** ![aoshi11](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@aoshi11](https://forums.unrealengine.com/u/aoshi11)\
**Post date:** [August 22, 2021, 12:06am UTC](https://forums.unrealengine.com/t/support-thread-shooter-bp-project/126943/208 "2021-08-22T00:06:37Z")

</div>

Either you increase the size of the radius of the capsule or you can check for weapon block tutorials on youtube. The method uses linetraces/sphere traces to detect a hit and it will either play an animation for folding it sideways or use IK to pull the gun in a direction you specify. Try to check AngelV weapon block tutorial as it has the best logic for the sphere traces and wont have problems with jittery trace on an angle (other tutorials). It also uses true FPS character.

---

<div class="post-metadata">

**Author:** ![Fatalsnot](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/fatalsnot/32/88711_2.png) [@Fatalsnot](https://forums.unrealengine.com/u/Fatalsnot)\
**Post date:** [August 25, 2021, 3:58am UTC](https://forums.unrealengine.com/t/support-thread-shooter-bp-project/126943/209 "2021-08-25T03:58:03Z")

</div>

Hey I bought your asset and its amazing i have a question or two you can link me  
to the discord

---

<div class="post-metadata">

**Author:** ![PeaceSells](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/peacesells/32/778010_2.png) [@PeaceSells](https://forums.unrealengine.com/u/PeaceSells)\
**Post date:** [August 25, 2021, 6:29pm UTC](https://forums.unrealengine.com/t/support-thread-shooter-bp-project/126943/210 "2021-08-25T18:29:15Z")

</div>

Yes, I’ve sent you a private msg!

[Previous page](https://forums.unrealengine.com/t/support-thread-shooter-bp-project/126943.md?page=9)

[Next page](https://forums.unrealengine.com/t/support-thread-shooter-bp-project/126943.md?page=11)
