Hi, I have been looking at youtube videos for the past few days and I am a bit stuck on both touch and understanding how to separate the logic from the rest of the gameplay.
My touch controls look as follows
https://i.imgur.com/YeBuu9R.pngI got this from a YouTube video that I have not been able to relocate. My first question is should the sensitivity be as high as it is? when I am using the unity remote I can watch the FSM and see it constantly jump between the "Touching" and "Moving" states, it is very sensitive and takes a lot of control for it to think that my finger is stationary.
My next question is regarding separating out the logic, I have this FSM set in an empty object called "TouchControls" I am unsure how to interact with that in my "CharacterMovement" object.
I tried adding touch_began as a global transition as shown in the following image, but it never seems to start with that even, even though I believe the content is set up correctly.
https://i.imgur.com/6BfOr0q.pngAdvice on how I am setting this up and separating out the game logic would be helpful.
Thanks.