|
1 | | -[gd_scene load_steps=3 format=3 uid="uid://c0qm7kpfs8hcr"] |
2 | | - |
3 | | -[ext_resource type="Script" path="res://navigation/obstacle.gd" id="1_obtb1"] |
| 1 | +[gd_scene load_steps=7 format=3 uid="uid://8d4cudcb6xpc"] |
4 | 2 |
|
5 | 3 | [sub_resource type="SphereShape3D" id="SphereShape3D_id3s4"] |
6 | 4 |
|
7 | | -[node name="Obstacle" type="CharacterBody3D"] |
8 | | -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.28523, 0.95, -2.33882) |
9 | | -script = ExtResource("1_obtb1") |
| 5 | +[sub_resource type="Animation" id="Animation_veodu"] |
| 6 | +resource_name = "default" |
| 7 | +length = 3.0 |
| 8 | +loop_mode = 1 |
| 9 | +tracks/0/type = "value" |
| 10 | +tracks/0/imported = false |
| 11 | +tracks/0/enabled = true |
| 12 | +tracks/0/path = NodePath(".:position") |
| 13 | +tracks/0/interp = 1 |
| 14 | +tracks/0/loop_wrap = true |
| 15 | +tracks/0/keys = { |
| 16 | +"times": PackedFloat32Array(0, 1.5), |
| 17 | +"transitions": PackedFloat32Array(1, 1), |
| 18 | +"update": 0, |
| 19 | +"values": [Vector3(0.0613372, 0.95, 2.19116), Vector3(0.0613372, 0.95, -1.37318)] |
| 20 | +} |
| 21 | + |
| 22 | +[sub_resource type="Animation" id="Animation_e4hp1"] |
| 23 | +length = 0.001 |
| 24 | +tracks/0/type = "value" |
| 25 | +tracks/0/imported = false |
| 26 | +tracks/0/enabled = true |
| 27 | +tracks/0/path = NodePath(".:position") |
| 28 | +tracks/0/interp = 1 |
| 29 | +tracks/0/loop_wrap = true |
| 30 | +tracks/0/keys = { |
| 31 | +"times": PackedFloat32Array(0), |
| 32 | +"transitions": PackedFloat32Array(1), |
| 33 | +"update": 0, |
| 34 | +"values": [Vector3(0.0613372, 0.95, 2.19116)] |
| 35 | +} |
| 36 | + |
| 37 | +[sub_resource type="AnimationLibrary" id="AnimationLibrary_l5lp8"] |
| 38 | +_data = { |
| 39 | +"RESET": SubResource("Animation_e4hp1"), |
| 40 | +"default": SubResource("Animation_veodu") |
| 41 | +} |
| 42 | + |
| 43 | +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_rekvp"] |
| 44 | +albedo_color = Color(1, 0, 0, 1) |
10 | 45 |
|
11 | | -[node name="CSGSphere3D" type="CSGSphere3D" parent="."] |
| 46 | +[sub_resource type="SphereMesh" id="SphereMesh_reh6l"] |
| 47 | + |
| 48 | +[node name="Obstacle" type="CharacterBody3D"] |
| 49 | +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0613372, 0.95, 0.29285) |
12 | 50 |
|
13 | 51 | [node name="CollisionShape3D" type="CollisionShape3D" parent="."] |
14 | 52 | shape = SubResource("SphereShape3D_id3s4") |
15 | 53 |
|
16 | 54 | [node name="NavigationObstacle3D" type="NavigationObstacle3D" parent="."] |
| 55 | +estimate_radius = false |
| 56 | +radius = 0.5 |
| 57 | + |
| 58 | +[node name="AnimationPlayer" type="AnimationPlayer" parent="."] |
| 59 | +autoplay = "default" |
| 60 | +libraries = { |
| 61 | +"": SubResource("AnimationLibrary_l5lp8") |
| 62 | +} |
| 63 | + |
| 64 | +[node name="MeshInstance3D" type="MeshInstance3D" parent="."] |
| 65 | +material_override = SubResource("StandardMaterial3D_rekvp") |
| 66 | +mesh = SubResource("SphereMesh_reh6l") |
0 commit comments