playMaker

Author Topic: How do I get a game object to follow my finger continuously.  (Read 1036 times)

GeezyGuy121

  • Playmaker Newbie
  • *
  • Posts: 6
How do I get a game object to follow my finger continuously.
« on: January 19, 2023, 05:27:51 PM »
Hello everyone,

I've been trying to implement a game object to follow my finger but I've had no luck. I've tried using tween and swipe gesture but that doesn't really follow my finger in the continuous way I would like. Does anyone have a solution for this? I would really appreciate it!

Thanks

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7618
    • jinxtergames
Re: How do I get a game object to follow my finger continuously.
« Reply #1 on: January 20, 2023, 01:58:00 AM »
Hi.
I think something like :
Touch event / Get Touch Info to get the position you touched.
Then Screen To World Point.
Then (for example) Move Toward

GeezyGuy121

  • Playmaker Newbie
  • *
  • Posts: 6
Re: How do I get a game object to follow my finger continuously.
« Reply #2 on: January 20, 2023, 04:35:08 AM »
Thank you so much! I followed your advice and it worked. I also used this video to help me a bit.