Help with gun rigged to torso

I’m trying to animate a gun by following headstackk’s tutorial and I have it rigged to the players torso because I want to be able to animate the gun separately from the right hand like this:
https://gyazo.com/3f5766fee702f1f9960673d756e50310

You can see also in the video that the gun is still attached to the right hand when looking up and down and I want it to follow the players cursor but it looks like this:
https://gyazo.com/4c8674dfd8bd2bc04c36c7f3fbf41906
(This is me looking down)

How can I make it so my gun is rigged to the torso but is still attached to the right arm in everything except the animations?

In the video the head isn’t looking up and down. The camera view of the animation is changing.

In your picture because the gun is attached to the torso it’s not going to follow the movement of the arms unless you account for it in the animation script.

I’d start with the gun welded to the right hand so it moves with the arms. The rest of the animations would have to be based off the right hand, but if you’re using a cursor movement for the arms then animating is going to be different depending on where the right hand is compared to the left.

1 Like

What I mean about the video is that you can see for a second after the animation ends you can see that the gun appears to follow the right hand and this video is a showcase of a torso welded gun. The thing is I can’t weld it to the right hand because of the animations I’m trying to create, for example, bolting the gun with the right hand. It is like this issue:

If you weld the gun to the torso and animate the arms and the gun you can match all the animations (arm movement, bolt movement, and gun placement).
The issue is you’re trying to add in the aiming movement that is totally independent of the other animations. Try it with your shoulders, arms, and hands in a simulated repeating motion like the bolt animation. It works if everything is positioned and oriented the same way every time. Now try it with moving your arms to a completely different positions at all times and you’ll see how complex the bolt animation becomes during those movements.

I just solved the problem, I was able to create a custom part in the character which is basically a clone of the torso which I can replicate the arm movement to it in the script that makes the arms follow the cursor while also keeping it separate from the right arms movement in animations.

1 Like