feat: add behaviour events from the simulation results
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=13 format=3 uid="uid://rs3hv73svbpa"]
|
||||
[gd_scene load_steps=14 format=3 uid="uid://rs3hv73svbpa"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://4mg67crlim53" path="res://player/player.gd" id="1_h2yge"]
|
||||
[ext_resource type="Script" uid="uid://ii8ai801jur2" path="res://player/camera_rig.gd" id="2_1bvp3"]
|
||||
@@ -7,14 +7,16 @@
|
||||
[ext_resource type="PackedScene" uid="uid://dhxxyprqflotq" path="res://player/npc/NpcVisual.tscn" id="5_lquwl"]
|
||||
|
||||
[sub_resource type="NavigationMesh" id="NavigationMesh_lquwl"]
|
||||
vertices = PackedVector3Array(-14.5, 0.4, -14.5, -14.5, 0.4, 14.5, 14.5, 0.4, 14.5, 14.5, 0.4, -14.5)
|
||||
polygons = [PackedInt32Array(3, 2, 0), PackedInt32Array(0, 2, 1)]
|
||||
vertices = PackedVector3Array(-14.5, 0.5, 0, -1, 0.5, 0, -1, 0.5, -0.75, 0, 0.5, -1, 0, 0.5, -14.5, -14.5, 0.5, -14.5, 0.75, 0.5, -1, 0.75, 0.75, -0.5, 14.5, 0.5, -0.5, 14.5, 0.5, -14.5, 0.75, 0.75, 0, 0, 1, 0, 0, 0.75, 0.75, -0.5, 0.75, 0.75, -0.5, 0.5, 14.5, 14.5, 0.5, 14.5, -1, 0.5, 0.75, -14.5, 0.5, 14.5)
|
||||
polygons = [PackedInt32Array(2, 1, 0), PackedInt32Array(3, 2, 4), PackedInt32Array(4, 2, 5), PackedInt32Array(5, 2, 0), PackedInt32Array(6, 3, 4), PackedInt32Array(8, 7, 6), PackedInt32Array(8, 6, 9), PackedInt32Array(9, 6, 4), PackedInt32Array(12, 11, 10), PackedInt32Array(10, 7, 8), PackedInt32Array(14, 13, 12), PackedInt32Array(10, 8, 12), PackedInt32Array(12, 8, 14), PackedInt32Array(14, 8, 15), PackedInt32Array(0, 1, 16), PackedInt32Array(16, 13, 14), PackedInt32Array(14, 17, 16), PackedInt32Array(16, 17, 0)]
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_o5qli"]
|
||||
albedo_color = Color(0.16862746, 0.52156866, 0.30588236, 1)
|
||||
|
||||
[sub_resource type="BoxMesh" id="BoxMesh_sgp6g"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_lquwl"]
|
||||
|
||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_o5qli"]
|
||||
radius = 0.4
|
||||
height = 1.7
|
||||
@@ -41,13 +43,20 @@ light_energy = 2.0
|
||||
[node name="NavigationRegion3D" type="NavigationRegion3D" parent="World"]
|
||||
navigation_mesh = SubResource("NavigationMesh_lquwl")
|
||||
|
||||
[node name="Ground" type="MeshInstance3D" parent="World/NavigationRegion3D"]
|
||||
[node name="GroundRoot" type="StaticBody3D" parent="World/NavigationRegion3D"]
|
||||
|
||||
[node name="GroundMesh" type="MeshInstance3D" parent="World/NavigationRegion3D/GroundRoot"]
|
||||
transform = Transform3D(30, 0, 0, 0, 0.1, 0, 0, 0, 30, 0, -0.05, 0)
|
||||
material_override = SubResource("StandardMaterial3D_o5qli")
|
||||
mesh = SubResource("BoxMesh_sgp6g")
|
||||
skeleton = NodePath("../..")
|
||||
skeleton = NodePath("../../..")
|
||||
|
||||
[node name="GroundCollision" type="CollisionShape3D" parent="World/NavigationRegion3D/GroundRoot"]
|
||||
transform = Transform3D(30, 0, 0, 0, 0.1, 0, 0, 0, 30, 0, 0.18380833, 0)
|
||||
shape = SubResource("BoxShape3D_lquwl")
|
||||
|
||||
[node name="Player" type="CharacterBody3D" parent="." node_paths=PackedStringArray("camera_rig")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.05, 0)
|
||||
script = ExtResource("1_h2yge")
|
||||
camera_rig = NodePath("../CameraRig")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user