How do I make holographic sight movement?

I would like to make the movement for a holographic/dot firearm sight, like seen in ACS of FE Gun Kit.
However, I don’t know how.
I have tried using mouse offset, but it looks weird and is unrealistic.
How would I replicate the movement? Thanks.

It would be better to explain the math that youre doing instead of giving out code.

2 Likes