Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: V--R on July 22, 2018, 06:39:53 PM
-
So I'm having trouble using the Take Camera Screenshot action from http://hutonggames.com/playmakerforum/index.php?topic=11308.0 . The link is currently broken so I used waybackmachine to get to the original site to get the action so for all I know I may be using an older version; it's labeled v1.1.
The script seems to be working in that it takes pictures however it only works the first time correctly. Once I've taken a picture it seems to spit itself off into a point in the sky and it creates that new point as the new main/active camera; which isn't very good since I'm making a VR game.
Does anyone know what is causing this? Am I just using an outdated version of the action and this problem has been fixed or is there something I'm doing wrong?
-
Hi.
There are 2 'Take Camera Screenshot' on the Ecosystem (https://hutonggames.fogbugz.com/default.asp?W1181) (1 for Unity 4 and 1 for unity 5+)
Maybe those will work better :)
-
It looks like that is the same script I have unfortunately.
It moves the position of the camera taking the picture and sets the camera as the active camera after use. :(
How can I fix this so it doesn't do that?
-
Okay I managed to fix it. Apparently the issue I had is that the camera was set to be a possible camera that the vr could use so it liked switching over to it. Turning off that option seems to have fixed it.
-
Hi.
I'm happy you got it to work :)