valencia-rail-rush/pedestrian.tscn

33 lines
1.1 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="CylinderMesh" id="CylinderMesh_6pjml"]
top_radius = 1.0
bottom_radius = 1.0
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 = 4.0
[node name="Pedestrian" type="StaticBody3D" unique_id=896871991]
collision_layer = 0
collision_mask = 0
script = ExtResource("1_y5q06")
[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"]