Compare commits
1 commit
05c8dbca70
...
1cdd89ce5e
| Author | SHA1 | Date | |
|---|---|---|---|
| 1cdd89ce5e |
1 changed files with 1 additions and 1 deletions
|
|
@ -63,6 +63,6 @@ func _process(delta):
|
||||||
# reset gimbals
|
# reset gimbals
|
||||||
if Input.is_action_pressed("cam_reset"):
|
if Input.is_action_pressed("cam_reset"):
|
||||||
reset()
|
reset()
|
||||||
|
|
||||||
current_zoom = clamp(current_zoom,zoom_min,zoom_max)
|
current_zoom = clamp(current_zoom,zoom_min,zoom_max)
|
||||||
$InnerGimbal/Camera3D.position = Vector3($InnerGimbal/Camera3D.position.x,current_zoom,current_zoom)
|
$InnerGimbal/Camera3D.position = Vector3($InnerGimbal/Camera3D.position.x,current_zoom,current_zoom)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue