- Home /
unity input system help
hi guys. i want to made a mobile game. i set a LeftStick for moving around. and a Delta [TouchScreen] for rotate camera and looking around. but when i want to use left stick whit my finger , the camera rotated.... some body Help please... thanks
Answer by V_0_1_D_ · Mar 01 at 07:01 AM
Inside an if statement, check if the touch position for the camera rotation is in right half of the screen. Something like this:
Input.GetTouch(0).position > Screen.width/2
hi V_0_1_D_ and thanks. i use new input system. and i do this before . when i do this when i use joystick i cant use touchpad anymore because the finger position is out of area and touchpad not worked anymore
Hi. Unfortunately I'm not familiar enough with new input system. hope you find out soon :)
Your answer
Follow this Question
Related Questions
Touch joystick tutorials ? 0 Answers
Changing input to Character Controller from keys to touch screen 0 Answers
New input system - getting back button press on mobile 2 Answers
Adjust turning speed for 3rd Person Character? 1 Answer
Help In Making a SphereCast for 3D Tire! Working RayCast Script included! 0 Answers