camera movement

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

Hello, maybe someone can give some tips about how to make camera movement (rotation) around object?
thank you!

:bust_in_silhouette: Reply From: puppetmaster-

The simplest way is using the animation player.

  1. set camera as child from object
  2. set in camera inspector the property Current to on
  3. then rotate the object with animation player

Don’t get sick!! :slight_smile:

thank you, I think I was not clear by saying rotate camera around object. I want to say make rotation with mouse movement something like 3rd person games. I’m so sorry for this “clear” question.

swipis | 2016-03-19 23:20

:bust_in_silhouette: Reply From: puppetmaster-

Than look at this git project from Calinou.

https://github.com/Calinou/fps-test/blob/master/scripts/player.gd

:bust_in_silhouette: Reply From: Bishop

…or you can start with this Godot 3rd Person Controller

and edit the script so that the mouse will be rotating with the character

:bust_in_silhouette: Reply From: swipis

thank you guys!

:bust_in_silhouette: Reply From: Meechy Franko

I had the same problem, having a Canvas Layer as root node turned out to be the issue. Changing the root node to an Area2D solved it.