How to make an object point towards last touch

I don’t quite know how to do this. I have a feeling that you can do it with an equation that calculates the angle using the last touch x and last touch y. @CodeHelp

13 Likes

Here you go! This is a simple method:


(look in the code of the finger.)

12 Likes

@StarCoder
I didn’t create the image below for this purpose, but it may help you understand the formulas in the project linked by @MISSION_IMPOSSIBLE

10 Likes