I’m using two cameras, a perspective one to display the game and an orthographic one to get the touch inputs on the screen. The player drag his finger to shoot the character(the longer he drags, the faster the character will go). When I’m using the unity remote on play mode everything works fine but when I build the game and try it directly on my phone it doesn’t work, the force applied to the character doesn’t depend on the dragging size (on build), it’s always the same. I tried to change the value of my power and my maxdragsize but I still have the same problem. I think the problem come from the orthographic camera when I build the game.
Thanks
The only thing that goes trought my mind is that Update() is called every frame and FixedUpdate() constantly so maybe on Remote 5 is running 5000 frames xSec and it’s ok but on phone it’s just 150 so it’s not ok… may this helps
I’ve find a solution, I’m not doing it whith 2 cameras anymore, I use a Plane and a raycast instead.