fix: make sure the example 3d values are correct

This commit is contained in:
dusk 2024-12-06 22:04:40 +03:00
parent e3d4fc92f6
commit 729473dc75
Signed by: dusk
SSH Key Fingerprint: SHA256:Abmvag+juovVufZTxyWY8KcVgrznxvBjQpJesv071Aw

View File

@ -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"] [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"] [sub_resource type="GDScript" id="GDScript_i7ix1"]
script/source = "extends Node3D script/source = "extends Node3D
@ -19,6 +23,7 @@ func _process(delta: float) -> void:
" "
[node name="ExampleBoid" type="Boid3D"] [node name="ExampleBoid" type="Boid3D"]
properties = SubResource("BoidProperties_en2py")
[node name="example_boid" parent="." instance=ExtResource("1_4juxv")] [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) transform = Transform3D(0.1, 0, 0, 0, 0.1, 0, 0, 0, 0.1, 0, 0, 0)