1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-09 12:50:35 +00:00

Add a crosshair to the 3D viewport

The crosshair makes freelook navigation a bit easier, while making it
clearer that it's possible to select nodes by clicking while in
freelook mode.

The crosshair is only displayed while in freelook mode.
It uses an icon designed to be visible on any background.
This commit is contained in:
Hugo Locurcio
2020-01-04 02:23:18 +01:00
parent 34c71157f0
commit 2b9f34b867
3 changed files with 17 additions and 0 deletions

View File

@@ -217,6 +217,7 @@ private:
bool freelook_active;
real_t freelook_speed;
TextureRect *crosshair;
Label *info_label;
Label *fps_label;
Label *cinema_label;