Added 3D freelook navigation mode
- Triggered by holding RMB - Can look around in FPS style - Can move with WASD - Movement speed accelerates over time - Can multiply speed with a modifier key to go faster or slower - Configurable in editor settings and shortcuts
This commit is contained in:
parent
f527a69462
commit
442006b4bf
3 changed files with 123 additions and 124 deletions
|
|
@ -589,6 +589,11 @@ void EditorSettings::_load_defaults(Ref<ConfigFile> p_extra_config) {
|
|||
set("editors/3d/emulate_3_button_mouse", false);
|
||||
set("editors/3d/warped_mouse_panning", true);
|
||||
|
||||
set("editors/3d/freelook_base_speed", 5);
|
||||
set("editors/3d/freelook_acceleration", 10);
|
||||
set("editors/3d/freelook_max_speed", 100);
|
||||
set("editors/3d/freelook_modifier_speed_factor", 1.0 / 5.0);
|
||||
|
||||
set("editors/2d/bone_width", 5);
|
||||
set("editors/2d/bone_color1", Color(1.0, 1.0, 1.0, 0.9));
|
||||
set("editors/2d/bone_color2", Color(0.75, 0.75, 0.75, 0.9));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue