If you are trying to make some kind of 3D markers in DayZ and use the GetGame().GetScreenPos(pos); Method to get the position of the Marker in 2D space the result is perfect except the player is in a scope that zooms in. When the player moves the weapon around, the marker changes the position instead of being stable on one position. There is some kind of multiplication error when having a zoomed view.
- Operating System
- Windows 10 x64
Do something similar like the VanillaPlusPlusMap andsee how it behaves when using a scope (tested with PU scope on SKS)
When manually zooming camera, the FOV is overriden, hence the multiplication errors.
You can try these FOV values to adjust the calculation: