From 46e1057bd136345cce37806b6bbd37ee884bea03 Mon Sep 17 00:00:00 2001 From: Longingly <74494805+StaringLongingly@users.noreply.github.com> Date: Fri, 13 Sep 2024 11:12:02 +0300 Subject: [PATCH] fixed artifact scaling --- scripts/Generic Consumable.gd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/Generic Consumable.gd b/scripts/Generic Consumable.gd index 6df7e72..15bca0f 100644 --- a/scripts/Generic Consumable.gd +++ b/scripts/Generic Consumable.gd @@ -88,7 +88,8 @@ func _ready() -> void: target_angle = (to - from).angle() target_angle += (randf() * 2 - 1) * angleVariation / 360 * PI - # Initialize position and rotation + # Initialize position and rotation and scale + global_scale = cachedScale global_position = from rotation_degrees = rad_to_deg(target_angle) + 90