fixy 2
This commit is contained in:
@@ -67,8 +67,7 @@ func _input(event):
|
||||
if is_multiplayer_authority():
|
||||
if event is InputEventMouseMotion:
|
||||
# Rotate the CharacterBody3D around the Y-axis for horizontal look
|
||||
#rotate_y(-event.relative.x * mouse_sensitivity)
|
||||
head.rotate_y(-event.relative.x * mouse_sensitivity)
|
||||
rotate_y(-event.relative.x * mouse_sensitivity)
|
||||
|
||||
# Rotate the Camera3D around its local X-axis for vertical look
|
||||
var change = -event.relative.y * mouse_sensitivity
|
||||
|
||||
Reference in New Issue
Block a user