summaryrefslogtreecommitdiffstats
path: root/character
diff options
context:
space:
mode:
authordusoleil <howcansocksbereal@gmail.com>2022-09-12 20:30:02 -0400
committerdusoleil <howcansocksbereal@gmail.com>2022-09-12 20:30:02 -0400
commit9a6b5ec01961c6ab3f13f72ff4ec4545c896d151 (patch)
treee201cba594933a73addbd02d316ab159f733c110 /character
parent0cc15f4a0f8ca7fc603e8fee5a0055d92958b822 (diff)
downloadgame_jam49-9a6b5ec01961c6ab3f13f72ff4ec4545c896d151.tar.gz
game_jam49-9a6b5ec01961c6ab3f13f72ff4ec4545c896d151.zip
Set character to react to rigid bodies like static bodies
Diffstat (limited to 'character')
-rw-r--r--character/fps_controller/fps_controller.gd2
1 files changed, 1 insertions, 1 deletions
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