rebindable camera settings
This commit is contained in:
parent
87fcc2b817
commit
7a217acd69
6 changed files with 102 additions and 33 deletions
9
assets/settings/camera.ron
Normal file
9
assets/settings/camera.ron
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
(
|
||||
zoom_speed: 1.0,
|
||||
zoom_distance_mult: 0.1,
|
||||
min_distance: 1.0,
|
||||
max_distance: 100.0,
|
||||
yaw_speed: 0.004,
|
||||
pan_speed: 0.01,
|
||||
pan_zoom_mult: 0.1,
|
||||
)
|
||||
|
|
@ -13,14 +13,14 @@
|
|||
MouseMovementY: [
|
||||
CameraPanY,
|
||||
],
|
||||
MouseButton(Middle): [
|
||||
CameraOrbitEnable,
|
||||
],
|
||||
KeyCode(Escape): [
|
||||
TogglePause,
|
||||
],
|
||||
MouseButton(Left): [
|
||||
CameraPanEnable,
|
||||
],
|
||||
MouseButton(Middle): [
|
||||
CameraOrbitEnable,
|
||||
],
|
||||
},
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue