Aim down sights not working how its supposed to

Hello. I am working on a gun system for a game, and I had an issue with the old ADS method so I decided to redo it. This has come with a new problem.

https://gyazo.com/46144b4f3d9f2fc186b2cdf6d57f25d4

It almost looks like it offsets a little too far.
Here’s everything you might need to help with the issue.


image

This is the variable that determines the offset. This single variable is the issue probaby.
Current_Info.ADS is the aim part. Current_Info.VM is the viewmodel.

This is the tween being done to make the viewmodel offset to the aim part.
Current_Info.AimOffset is a CFrame value.


This line of code is the one that takes care of the CFrame for the whole viewmodel. I have highlighted the aim offset part of it.
The other values don’t have anything to do with the issue, I’m sure of it.


Here’s how the viewmodels are set up. The pink cube is the aim part.


Just showing that it is aligned correctly.


If you need any further information then please let me know. Thank you for taking your time to help.

It might be because of the hold animation you play, if you offset the gun from the center of where the root part of the viewmodel is in the animation it won’t align correctly.

Tested this out by disabling the animations but that doesn’t seem to be the issue. The same thing happened.

I know you said the problem has nothing to do with the other values, but have you tried using only your aim offset and the camera CFrame to position the viewmodel?