29 lines
1.2 KiB
Text
29 lines
1.2 KiB
Text
[gd_scene format=3 uid="uid://v07x1vbept3i"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://ba2ywy388r8g1" path="res://images/bot.png" id="1_br0rw"]
|
|
[ext_resource type="Script" uid="uid://c0ii52yy7qbcu" path="res://scenes/robot.gd" id="1_ykvnc"]
|
|
|
|
[sub_resource type="CylinderShape3D" id="CylinderShape3D_ykvnc"]
|
|
height = 1.8903809
|
|
|
|
[node name="Robot" type="CharacterBody3D" unique_id=985954885]
|
|
transform = Transform3D(3.5, 0, 0, 0, 3.5, 0, 0, 0, 3.5, 0, 0, 0)
|
|
script = ExtResource("1_ykvnc")
|
|
|
|
[node name="Sprite3D" type="Sprite3D" parent="." unique_id=606423155]
|
|
billboard = 1
|
|
texture_filter = 0
|
|
texture = ExtResource("1_br0rw")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=94553291]
|
|
transform = Transform3D(1.25, 0, 0, 0, 1.25, 0, 0, 0, 1.25, 0, 0.29987764, 0)
|
|
shape = SubResource("CylinderShape3D_ykvnc")
|
|
disabled = true
|
|
|
|
[node name="Area3D" type="Area3D" parent="." unique_id=1853898157]
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D" unique_id=273523738]
|
|
transform = Transform3D(1.25, 0, 0, 0, 1.25, 0, 0, 0, 1.25, 0, 0.29987764, 0)
|
|
shape = SubResource("CylinderShape3D_ykvnc")
|
|
|
|
[connection signal="area_entered" from="Area3D" to="." method="_on_area_3d_area_entered"]
|