hi everyone. i want to make a custom camera in my scene and with pressing a button on the vr motion controller, it takes a screenshot. i used this codes in a none-vr version of my scene.
as you can see, it has 2 parts, first one is taking a screenshot with pressing “x” and the second part is changing the camera to the character view with releasing it. it works well in a first person version. but in vr, everything is different, and i can’t event take a good or better to say a correct screenshot through the custom camera. always, it shows somewhere else or something not like what i had in the first person version.
now please give me some help or tips. i tried many things, but i couldn’t reach what i wanted. i just need a screenshot through my camera, nothing fancy or complex. if anyone knows how should i do that, i will be happy to hear that. and if you need something else, feel free and ask it.