Godot Version
v4.2.2.stable.official [15073afe3]
Question
3 Actor
s are spawned for each Unit
, they then path to the Actor
s of the other Unit
. Due to the Unit
’s transformations being applied to the Actor
s I set actor.top_level = true
. After making this change, only 1 set of Actors
are pathing, the others now dont move.
Pre-Change:
Post-Change:
The spawn code for the Actor
, and the only thing to change:
var actor: Actor = actor_scene.instantiate()
add_child(actor)
actor.top_level = true
actor.global_position = spawn_pos
Any idea what’s happening?