Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: GeezyGuy121 on January 19, 2023, 05:27:51 PM

Title: How do I get a game object to follow my finger continuously.
Post by: GeezyGuy121 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
Title: Re: How do I get a game object to follow my finger continuously.
Post by: djaydino 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
Title: Re: How do I get a game object to follow my finger continuously.
Post by: GeezyGuy121 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.