Compare commits
1 commit
9f85c39b02
...
e5c1280dd9
| Author | SHA1 | Date | |
|---|---|---|---|
| e5c1280dd9 |
1 changed files with 2 additions and 0 deletions
|
|
@ -49,6 +49,8 @@ func _process(delta):
|
||||||
else:
|
else:
|
||||||
Input.set_mouse_mode(Input.MOUSE_MODE_VISIBLE)
|
Input.set_mouse_mode(Input.MOUSE_MODE_VISIBLE)
|
||||||
mouse_locked = false
|
mouse_locked = false
|
||||||
|
mouse_x_velocity = 0
|
||||||
|
mouse_y_velocity = 0
|
||||||
|
|
||||||
rotate_camera_y(y, delta)
|
rotate_camera_y(y, delta)
|
||||||
rotate_camera_x(x, delta)
|
rotate_camera_x(x, delta)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue