From 729473dc755d2f2747be512f08f9d27a9aafcf4a Mon Sep 17 00:00:00 2001 From: dusk Date: Fri, 6 Dec 2024 22:04:40 +0300 Subject: [PATCH] fix: make sure the example 3d values are correct --- examples/boids/3d/example_boid.tscn | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/examples/boids/3d/example_boid.tscn b/examples/boids/3d/example_boid.tscn index 4706cab..00bac64 100644 --- a/examples/boids/3d/example_boid.tscn +++ b/examples/boids/3d/example_boid.tscn @@ -1,7 +1,11 @@ -[gd_scene load_steps=3 format=3 uid="uid://1pug7bs83oif"] +[gd_scene load_steps=4 format=3 uid="uid://1pug7bs83oif"] [ext_resource type="PackedScene" uid="uid://bqklv2qo52yic" path="res://examples/boids/3d/example_boid.blend" id="1_4juxv"] +[sub_resource type="BoidProperties" id="BoidProperties_en2py"] +max_speed = 0.2 +max_force = 0.04 + [sub_resource type="GDScript" id="GDScript_i7ix1"] script/source = "extends Node3D @@ -19,6 +23,7 @@ func _process(delta: float) -> void: " [node name="ExampleBoid" type="Boid3D"] +properties = SubResource("BoidProperties_en2py") [node name="example_boid" parent="." instance=ExtResource("1_4juxv")] transform = Transform3D(0.1, 0, 0, 0, 0.1, 0, 0, 0, 0.1, 0, 0, 0)