Hey Chris.
It's been a while but I'm creating something new on iOS and I'm encountering a frustrating issue. I have a first person player and I'm using touchscreen input with drag for rotation. I tap hotspots and my player moves to markers to navigate around my scene.
The issue is, when dragging to rotate the camera, it works fine until I lift my finger up off to the screen. Once I take my finger off of the screen, the camera continues to rotate infinitely until I tap the screen again to stop it.
If I leave the controls as Mouse and Keyboard, and start with the cursor locked, the dragging works exactly as I want it to on the touchscreen, however I can't interact with menus, inventory, etc.
Is this dragging rotation thing a bug or is there a way to make it behave like I want it to? (Like moving my finger for mouse look and having it immediately stop when I lift my finger?)
I hope that made sense.
I would really appreciate a response.
Thanks!
Comments
Please post a shot of your (desired) Settings Manager and FirstPersonCamera script's Inspector. With luck and good timing, I can hopefully get this sorted out before 1.39's release.
I believe I've solved your "runaway camera" issue when using Touch Screen mode, but I'm not clear what's wrong beyond that - simply that it "behaves differently from mouselook movement". Different in what way? There is a difference in that it's using Touch-specific code - have you tried varying the "Freelook speed" within the Settings Manager.