From 0ebd30de240e44ac40976d8a4b508567cde4100c Mon Sep 17 00:00:00 2001 From: pbentes Date: Sat, 31 Aug 2024 14:31:30 +0100 Subject: [PATCH] Updated the locomotion settings resource so the jump impulse is not exported --- modules/systems/locomotion/scripts/locomotion_settings.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/systems/locomotion/scripts/locomotion_settings.gd b/modules/systems/locomotion/scripts/locomotion_settings.gd index 1bd580b..b623c6a 100644 --- a/modules/systems/locomotion/scripts/locomotion_settings.gd +++ b/modules/systems/locomotion/scripts/locomotion_settings.gd @@ -8,7 +8,7 @@ class_name LocomotionSettings @export_category("Physics") var GRAVITY: float = ProjectSettings.get_setting("physics/3d/default_gravity") ## The impulse applied to the CharacterBody3D in the Y axis upon a jump command. -@export var JUMP_IMPULSE = sqrt(3 * GRAVITY * 0.85) +var JUMP_IMPULSE = sqrt(3 * GRAVITY * 0.85) ## Friction applied to the CharacterBody3D when moving along the ground. @export var FRICTION: float