Put gun away FPS Template

Hello, if anyone could help me with trying to put the gun away in the first person template so that when you are searching for stuff it is not obstructing your view.

You can fire a ~100 units line trace every 0.5 seconds or so in front of your character, and if it hits something that is a “WorldStatic” object, rotate the right shoulder bone so that the gun lowers.

Here’s something to get you going: How to prevent weapons from penetrating the wall? - Programming & Scripting - Unreal Engine Forums