20 lines
759 B
Plaintext
20 lines
759 B
Plaintext
|
[gd_scene load_steps=3 format=3 uid="uid://ckc0dhvrksfh4"]
|
||
|
|
||
|
[ext_resource type="Script" path="res://examples/boid_2d/follow/example.gd" id="1_cb4mx"]
|
||
|
|
||
|
[sub_resource type="Curve2D" id="Curve2D_ncwi0"]
|
||
|
_data = {
|
||
|
"points": PackedVector2Array(69.2957, 57.9564, -69.2957, -57.9564, 1117, 34, 79.375, -118.433, -79.375, 118.433, 34, 28, -61.7361, -114.653, 61.7361, 114.653, 22, 624, -42.8373, 69.2957, 42.8373, -69.2957, 1126, 622, 66.7758, 73.0754, -66.7758, -73.0754, 1117, 34)
|
||
|
}
|
||
|
point_count = 5
|
||
|
|
||
|
[node name="Example" type="Node2D"]
|
||
|
script = ExtResource("1_cb4mx")
|
||
|
|
||
|
[node name="Path2D" type="Path2D" parent="."]
|
||
|
curve = SubResource("Curve2D_ncwi0")
|
||
|
|
||
|
[node name="PathFollow2D" type="PathFollow2D" parent="Path2D"]
|
||
|
position = Vector2(1117, 34)
|
||
|
rotation = -2.44507
|