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.
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.