41 lines
1.4 KiB
Plaintext
41 lines
1.4 KiB
Plaintext
[gd_scene format=3 uid="uid://c76lhqe6dqq50"]
|
|
|
|
[ext_resource type="Script" uid="uid://beqs2m2yf1igp" path="res://pedestrian.gd" id="1_y5q06"]
|
|
|
|
[sub_resource type="CylinderShape3D" id="CylinderShape3D_y5q06"]
|
|
height = 1.0
|
|
radius = 0.8
|
|
|
|
[sub_resource type="CylinderMesh" id="CylinderMesh_6pjml"]
|
|
top_radius = 0.8
|
|
bottom_radius = 0.8
|
|
height = 0.1
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_y5q06"]
|
|
albedo_color = Color(0.23, 0.23, 0.23, 1)
|
|
|
|
[sub_resource type="CylinderShape3D" id="CylinderShape3D_6pjml"]
|
|
height = 0.5
|
|
radius = 2.5
|
|
|
|
[node name="Pedestrian" type="StaticBody3D" unique_id=896871991]
|
|
collision_layer = 2
|
|
collision_mask = 3
|
|
script = ExtResource("1_y5q06")
|
|
|
|
[node name="Collision" type="CollisionShape3D" parent="." unique_id=537549328]
|
|
shape = SubResource("CylinderShape3D_y5q06")
|
|
debug_color = Color(0.7909608, 0.32397082, 0.7167154, 0.41960785)
|
|
|
|
[node name="Mesh" type="MeshInstance3D" parent="." unique_id=58534625]
|
|
mesh = SubResource("CylinderMesh_6pjml")
|
|
surface_material_override/0 = SubResource("StandardMaterial3D_y5q06")
|
|
|
|
[node name="PedestrianArea" type="Area3D" parent="." unique_id=332853531]
|
|
|
|
[node name="Collision" type="CollisionShape3D" parent="PedestrianArea" unique_id=1710819275]
|
|
shape = SubResource("CylinderShape3D_6pjml")
|
|
debug_color = Color(2.8878452e-07, 0.5747548, 0.82784265, 0.41960785)
|
|
|
|
[connection signal="area_exited" from="PedestrianArea" to="." method="_on_pedestrian_area_area_exited"]
|