added blocking doors to paths.
This commit is contained in:
@@ -21,6 +21,9 @@ func _ready():
|
||||
damage = 5.0
|
||||
|
||||
state_timer = idle_duration
|
||||
|
||||
# CRITICAL: Ensure collision mask is set correctly (walls are on layer 7 = bit 6 = 64)
|
||||
collision_mask = 1 | 2 | 64 # Collide with players (layer 1), objects (layer 2), and walls (layer 7 = bit 6 = 64)
|
||||
|
||||
func _physics_process(delta):
|
||||
# Always update animation (even when dead, and on clients)
|
||||
|
||||
Reference in New Issue
Block a user