remotes/1705382094874458415/tmp_refs/heads/godot4-port
Jan 2020-09-16 19:21:56 +02:00
parent cb680365a4
commit 54221054eb
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ remote func mouselook(rel):
rotate_y(- rel.x * sensitivity)
camera.rotation.x = clamp(camera.rotation.x-rel.y * sensitivity, -PI/2, PI/2)
rpc_unreliable("mouselook_abs", camera.rotation)
rpc_unreliable("mouselook_abs", camera.rotation.x, rotation.y)
func motion(delta):
var slide_velocity = move_and_slide(velocity * delta, Vector3.UP, true)