34 lines
1.3 KiB
Plaintext
34 lines
1.3 KiB
Plaintext
|
[gd_scene load_steps=5 format=3 uid="uid://dp41b4l8rtmd"]
|
||
|
|
||
|
[ext_resource type="Script" path="res://Navdrone.gd" id="1_8s1ap"]
|
||
|
[ext_resource type="PackedScene" uid="uid://dyajrcmw1xovo" path="res://testbin.tscn" id="2_icho2"]
|
||
|
[ext_resource type="ArrayMesh" uid="uid://c63wm5ikugi4n" path="res://dmesho.obj" id="3_i17ly"]
|
||
|
|
||
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_414ve"]
|
||
|
|
||
|
[node name="Navdrone" type="CharacterBody3D"]
|
||
|
transform = Transform3D(2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 2.048, 0)
|
||
|
script = ExtResource("1_8s1ap")
|
||
|
speed = 15
|
||
|
block = ExtResource("2_icho2")
|
||
|
|
||
|
[node name="DroneMeshInstance3D" type="MeshInstance3D" parent="."]
|
||
|
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, -0.5, 0, 0, 0)
|
||
|
mesh = ExtResource("3_i17ly")
|
||
|
|
||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||
|
shape = SubResource("CapsuleShape3D_414ve")
|
||
|
|
||
|
[node name="NavigationAgent3D" type="NavigationAgent3D" parent="."]
|
||
|
path_desired_distance = 3.0
|
||
|
target_desired_distance = 3.0
|
||
|
path_max_distance = 13.01
|
||
|
avoidance_enabled = true
|
||
|
time_horizon_agents = 4.46
|
||
|
time_horizon_obstacles = 1.0
|
||
|
max_speed = 2.0
|
||
|
debug_enabled = true
|
||
|
|
||
|
[connection signal="navigation_finished" from="NavigationAgent3D" to="." method="_on_navigation_agent_3d_navigation_finished"]
|
||
|
[connection signal="path_changed" from="NavigationAgent3D" to="." method="_on_navigation_agent_3d_path_changed"]
|