Rotation of the game object by the player (213004)

Hello guys…
I want the game object to be rotated by the player like in image.
How can I do that? any tutorials or sites do you know?
Thanks for answer…

1 Answer

1

Good day.

There is no a function for this directly, You need to move one of the points, and then calculate the rotation between the 2 fingers, and apply that rotation to the object in real time.

Good luck!