From 9a6b5ec01961c6ab3f13f72ff4ec4545c896d151 Mon Sep 17 00:00:00 2001 From: dusoleil Date: Mon, 12 Sep 2022 20:30:02 -0400 Subject: Set character to react to rigid bodies like static bodies --- character/fps_controller/fps_controller.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'character/fps_controller') diff --git a/character/fps_controller/fps_controller.gd b/character/fps_controller/fps_controller.gd index e5f119b..3021d40 100644 --- a/character/fps_controller/fps_controller.gd +++ b/character/fps_controller/fps_controller.gd @@ -46,7 +46,7 @@ func handle_movement(): if velocity.y < term_velocity: velocity.y = term_velocity - velocity = move_and_slide(velocity, Vector3.UP) + velocity = move_and_slide(velocity, Vector3.UP, false, 4, PI/4, false) func _input(event): #Handle mouse movement for camera -- cgit v1.2.3