Hey, so I want to make an Aim Down Sight script where the gun moves to the center of the camera. Currently, I’m using Vector3.Lerp to lerp between a “normal Vector” and an “aiming Vector” wich I set up via the editor. Now I have the problem that I have many attachments for multiple guns in my game so the “point” wich has to be in the center of the screen changes with each scope attached to the gun and I really don’t want to set up a new vector3 for each variation of guns and scopes. I tried many things like calculating the distance between the screen center and the middle of the scope and then creating a new vector3 off this distance via script but nothing worked as expected. Do you guys have any ideas or suggestions how to get this working?
I’m really thankfully for every reply!