- Home /
Image effects disabling camera touch script
Hi everyone,
I have a simple scene with some boxes, and a camera with a script attached to it, to control its movement (basically pinch to zoom, drag to move, swipe to rotate). The camera is child to a target, and it rotates using look around, so the target works as the camera's point of interest.
Everything is working fine, but whenever I apply any image effects to the camera (vignette, DOF, bloom, etc), the touch controls simply stop working. I've tried changing the order of the scripts, moving the touch script to the target, creating another camera as a child of this one and applying the effects to it instead, but nothing works. I don't think this is suppose to happen, yet I'm clueless about what is causing this problem.
Thanks in advance for any answers that can help me. I tried searching for it but couldn't find anything.
interesting issue. can you have the project folder accessible for us?
Answer by Next Beat Games · Apr 02, 2013 at 12:01 AM
So I played with it. It turns out it works fine on my end: I wasn't able to reproduce the issue. So it must be something misconfigured/buggy on your end. This is good news.
A couple of things, InputTouch1 is better to use than InputTouch (as Im sure you know). Also you can remove (comment out) lines 34 & 38.
That's strange, I imported the apk just the way that scene was to my S3 and it simply didn't work. I'll try on another android device to see if the problem persists. And thanks for the advices, I appreciate it. :)
Oh my bad.. I just tested in Unity with the remote app on my iphone. I didn't know I was to deploy it. I dont have an android either. I'll try deploying and I'll let you know.
Your answer
![](https://koobas.hobune.stream/wayback/20220613095458im_/https://answers.unity.com/themes/thub/images/avi.jpg)