How to script a controller like the one in The Line Zen (JS)
Hi, I am currently making an app somewhat like The Line Zen on the app store and I am stuck on how to script the controller. Basically what happens is you have to click in a certain spot for it to work and that is very frustrating because if you click anywhere else your character goes to the section where you die. Along with that, if you lift your finger while playing you have to put your finger in the EXACT same spot you lifted your finger.
Basically I would like help with the following: - When placing your finger down anywhere on the bottom half of the screen the character stays at the same spot that it is on the Z axis - When lifting finger up and placing down anywhere on the screen, again, the character stays at the same spot that it is on the Z axis
Thank you in advance for the help, I am currently running beta on this app with beta testers and this is a major bug I need to fix before the official release which I hope is by February 28, 2017 (End of Feb.)
-Jonny
Your answer
![](https://koobas.hobune.stream/wayback/20220612105127im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Have 3 raycast rays on a capsule and rotate them correspondingly 0 Answers
character controller problem 3 Answers
Add two key binds 1 Answer
FPS controller Xbox controller 0 Answers
Boat controller help 0 Answers