Skip to main content
4 events
when toggle format what by license comment
Sep 1, 2021 at 22:54 vote accept gunza
Aug 30, 2021 at 17:54 comment added DMGregory I'm basing it off of the code you showed. If you don't want to use mousePosition, don't show it that way in your question. You can of course replace facing with transform.up or .right etc as you like.
Aug 30, 2021 at 17:08 comment added gunza Thanks for your reply. But there is "mouseposition" in the code you suggested. I'm going to assign my function to a button. When I touch the button, the character will teleport to a fixed distance. I think need "mouseposition" information in the code you suggested.
Aug 30, 2021 at 1:19 history answered DMGregory CC BY-SA 4.0