- Edited
Hello, I'm new to godot and I'm trying to follow a tutorial from DGQuest "Code your first complete 2d game".
In this main script I'm trying to use the node PathFollow2d to spawn mobs. However, when I try setting "unit_offset" or "offsest" to any value, the PathFollow2d.unit_offset stay as 0.
I tried setting it to 0.5 instead of using randf( ) and I also tried using the setter for this property with the set_unit_offset(0.5), but when I run my game my $MobPath/PathFollow2d.position and unit_offsest stay as 0.
I wish I could use this node to spawn my enimies instead of working around it. Can I get any help?