Hi there,
I want to have a GameObject look at the position the player is touching/clicking the screen. That's simple enough to do.
However, I want the look at to be updated as long as the left mouse button is held or the finger is on screen.
What would be the best way to do this?
My idea was to set a global boolean and check it in another FSM. Whenever I detect that it's true I would then update the look at direction, wait for 0.x seconds and check the boolean again. This seems like a very dirty hack, though...