The gun would clip through your arm when using aim offset.

I’m currently making an FPS game, but when I walk while aiming, the gun ends up going through the player’s arm. I’m using aim offset, which means that when I hold the gun and move the viewpoint, it will go through the player’s arm. Are there any good alternatives to this?

Use IK to move the hand to the gun.

When I tried using this video as a reference, the result was as shown in the video below.

If I don’t want the gun to penetrate during the running animation, the gun will leave their hand when idle and when the shooting animation plays.

I don’t understand what you have written and how it links with the video. Can you maybe explain better?

Excuse me. I solved this problem by downloading a new animation.

I don’t understand what you have written and how it links with the video. Can you maybe explain better?

I want the gun to stay in line with my hand. I looked for a video about it and found the one above.
I configured the ABP and gun assets as shown in this video. But when I did that, the gun left hands while it was idle.
This video shows me adjusting the gun position and solving the problem, but I wasn’t able to do it successfully in my project.
Also,it says to use an IK rig, but I couldn’t find a way to do it using an IK rig.

Please let me know if you have any questions. I’m sorry.