fix tutorial

This commit is contained in:
2026-04-23 14:35:59 +03:00
parent f6f451cffb
commit 65ba9d2960
2 changed files with 31 additions and 20 deletions
+1
View File
@@ -59,6 +59,7 @@ const CONTACT_CD = 0.7
const AIR_FRICTION = 0.86
func _ready() -> void:
process_mode = Node.PROCESS_MODE_PAUSABLE
add_to_group("enemies")
mat = mesh_node.material_override.duplicate() as StandardMaterial3D
mesh_node.material_override = mat