Adding robots to the game and the ability to click on them

This commit is contained in:
=
2026-04-26 13:44:15 +02:00
parent bd9de785b4
commit 21199f8026
12 changed files with 155 additions and 9 deletions
+15 -3
View File
@@ -1,5 +1,17 @@
[gd_scene format=3 uid="uid://cjae60v4c60vb"]
[gd_scene format=3 uid="uid://dciwxejdji2lg"]
[ext_resource type="PackedScene" uid="uid://bccs6xik7xv8s" path="res://Assets/Objects/Robot.glb" id="1_8peeh"]
[ext_resource type="PackedScene" uid="uid://cjae60v4c60vb" path="res://Prefabs/RobotVisual.tscn" id="2_3hvm5"]
[ext_resource type="Script" uid="uid://e0pgy7jya41y" path="res://Scripts/Robot.cs" id="2_j80uv"]
[node name="Robot" unique_id=1113392384 instance=ExtResource("1_8peeh")]
[sub_resource type="BoxShape3D" id="BoxShape3D_vquur"]
size = Vector3(1.1176758, 0.7307129, 1.0234375)
[node name="RobotBase" type="CharacterBody3D" unique_id=2075379542]
collision_layer = 2
script = ExtResource("2_j80uv")
[node name="RobotVisual" parent="." unique_id=516119901 instance=ExtResource("2_3hvm5")]
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=1405728816]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.05883789, 0.29821777, -0.01171875)
shape = SubResource("BoxShape3D_vquur")
+5
View File
@@ -0,0 +1,5 @@
[gd_scene format=3 uid="uid://cjae60v4c60vb"]
[ext_resource type="PackedScene" uid="uid://bccs6xik7xv8s" path="res://Assets/Objects/Robot.glb" id="1_wvvfd"]
[node name="Robot" unique_id=516119901 instance=ExtResource("1_wvvfd")]