-
Notifications
You must be signed in to change notification settings - Fork 1
/
player.tscn
43 lines (32 loc) · 1.47 KB
/
player.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
[gd_scene load_steps=5 format=3 uid="uid://brml41mtakn5m"]
[ext_resource type="Script" path="res://agent.gd" id="1_83jwu"]
[ext_resource type="Material" uid="uid://c3u7aiuefmkbn" path="res://materials/tracer.tres" id="2_rlqt4"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_rixvl"]
resource_local_to_scene = true
shading_mode = 0
albedo_color = Color(1, 0, 1, 1)
[sub_resource type="SphereShape3D" id="SphereShape3D_fmo2e"]
radius = 4.0
[node name="CharacterBody3D" type="Node3D" groups=["player"]]
script = ExtResource("1_83jwu")
[node name="NavigationAgent3D" type="NavigationAgent3D" parent="."]
path_max_distance = 14.11
radius = 3.0
max_neighbors = 20
[node name="CSGSphere3D" type="CSGSphere3D" parent="."]
radius = 2.0
material = SubResource("StandardMaterial3D_rixvl")
[node name="XMarksTheSpot" type="Node3D" parent="."]
[node name="CSGBox3D" type="CSGBox3D" parent="XMarksTheSpot"]
transform = Transform3D(0.707107, 0, 0.707107, 0, 1, 0, -0.707107, 0, 0.707107, 0, 0.765, 0)
size = Vector3(3, 0.7, 0.7)
material = ExtResource("2_rlqt4")
[node name="CSGBox3D2" type="CSGBox3D" parent="XMarksTheSpot"]
transform = Transform3D(-0.707107, 0, 0.707107, 0, 1, 0, -0.707107, 0, -0.707107, 0, 0.765024, 0)
size = Vector3(3, 0.7, 0.7)
material = ExtResource("2_rlqt4")
[node name="RigidBody3D" type="Area3D" parent="."]
collision_layer = 4
collision_mask = 4
[node name="CollisionShape3D" type="CollisionShape3D" parent="RigidBody3D"]
shape = SubResource("SphereShape3D_fmo2e")