World space to world canvas space?
I'm making a VR game and I have a world space canvas floating above a gun to function as a sight, and I'd like it to be when you look "through" the sight a dot on the sight canvas is positioned on the canvas at the world space of a transform cast into the scene from the gun barrel. I know how to do this with a screen space canvas and using camera.main.worldtoscreenspace, but that obviously isn't going to work for a world space camera that isn't positioned where the main camera is, and I can't quite wrap my head around an appropriate solve.
Your answer
Follow this Question
Related Questions
UI Canvas draw order 1 Answer
UI in World Space doesn't respond 1 Answer
how do i take whats on one UI canvas and make it apear on another in real time(for a card game) 0 Answers
Insane amount of CPU power used to activate UI inventory and equipment windows 0 Answers
UI canvas changing size when game plays? 0 Answers