fix: make follow scene work again
This commit is contained in:
parent
29ddd128c6
commit
4b0ff4d760
@ -1,7 +1,6 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://ckc0dhvrksfh4"]
|
||||
|
||||
[ext_resource type="Script" path="res://examples/boids/2d/follow/example.gd" id="1_cb4mx"]
|
||||
[ext_resource type="Script" path="res://addons/boids/flock/flock.gd" id="2_i4bjg"]
|
||||
|
||||
[sub_resource type="Curve2D" id="Curve2D_ncwi0"]
|
||||
_data = {
|
||||
@ -9,6 +8,8 @@ _data = {
|
||||
}
|
||||
point_count = 5
|
||||
|
||||
[sub_resource type="FlockProperties" id="FlockProperties_id14j"]
|
||||
|
||||
[node name="Example" type="Node2D"]
|
||||
script = ExtResource("1_cb4mx")
|
||||
|
||||
@ -19,6 +20,6 @@ curve = SubResource("Curve2D_ncwi0")
|
||||
position = Vector2(1117, 34)
|
||||
rotation = -2.44507
|
||||
|
||||
[node name="Flock" type="Node" parent="." node_paths=PackedStringArray("target")]
|
||||
script = ExtResource("2_i4bjg")
|
||||
[node name="Flock" type="Flock2D" parent="." node_paths=PackedStringArray("target")]
|
||||
properties = SubResource("FlockProperties_id14j")
|
||||
target = NodePath("../Path2D/PathFollow2D")
|
||||
|
Loading…
Reference in New Issue
Block a user