From c203e3e4b8b90c50a64141208df61148fa9c2f25 Mon Sep 17 00:00:00 2001 From: blujai831 Date: Sun, 6 Apr 2025 16:28:07 -0700 Subject: [PATCH] Switch to Jolt physics --- characters/base/character.gd | 2 +- project.godot | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/characters/base/character.gd b/characters/base/character.gd index ae9d80a..9fe56c3 100644 --- a/characters/base/character.gd +++ b/characters/base/character.gd @@ -332,7 +332,7 @@ func _enforce_certain_properties() -> void: physics_material_override = PhysicsMaterial.new() physics_material_override.friction = 0.0 can_sleep = false - lock_rotation = true + lock_rotation = false freeze_mode = FREEZE_MODE_STATIC custom_integrator = false continuous_cd = true diff --git a/project.godot b/project.godot index aa920bf..5487390 100644 --- a/project.godot +++ b/project.godot @@ -186,6 +186,10 @@ pause={ ] } +[physics] + +3d/physics_engine="Jolt Physics" + [rendering] renderer/rendering_method="gl_compatibility"