How to make FPS-like freelook with multitouch drag?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By unfa
:warning: Old Version Published before Godot 3 was released.

I want to be able to drag along the screen to rotate the player and camera in a 3D world, how do I do it?

:bust_in_silhouette: Reply From: KRL

Simply calculate difference in touched point and rotate your player/camera by this numer.

I guess you mean “vector”, not “number”, right?

Bojidar Marinov | 2016-03-29 08:14

Well, so much I can figure out, but I can’t really get it to work.

unfa | 2016-03-29 13:47

This link contains project with such a method

KRL | 2016-03-29 19:34