Hi, I’m trying to create measure tool for my objects. I have some predefined constant pixelsToSIUnit, and I need how many pixels has displayed line to calculate real world size.
Elements are 2D so I’m using orthographic camera.
I’m able to calculate it in units and for example 100px it’s around 222units.
Before I added camera.clearViewOffset() it was 256 units.
Do you have any ideas how to solve it? I went through all answers on this topic, and none of them work for me or I’m missing something.