]> Untitled Git - william-skin.git/blobdiff - test/test.tscn
Bugfixes
[william-skin.git] / test / test.tscn
index 1dfdf38a9d0e5a8d9661432b157f6d7e6e5a98d5..164bfe98b55191b3d2c4484e79a788c5a7453008 100644 (file)
@@ -1,7 +1,8 @@
-[gd_scene load_steps=9 format=3 uid="uid://c0pxmaobqvkh4"]
+[gd_scene load_steps=10 format=3 uid="uid://c0pxmaobqvkh4"]
 
 [ext_resource type="PackedScene" uid="uid://cp6xm8gp6csx" path="res://player/player.tscn" id="1_apkq8"]
 [ext_resource type="Script" path="res://test/test.gd" id="1_qjknf"]
+[ext_resource type="PackedScene" uid="uid://bxitip7rpbna4" path="res://test/cube.tscn" id="3_3tdke"]
 
 [sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_whsn2"]
 sky_top_color = Color(0.418597, 0.461821, 0.5796, 1)
@@ -39,15 +40,27 @@ shadow_enabled = true
 
 [node name="player" parent="." instance=ExtResource("1_apkq8")]
 transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.200905, 0, 1.53554)
+lockon_sensitivity = 10.0
 
 [node name="map" type="Node3D" parent="."]
 
-[node name="MeshInstance3D" type="MeshInstance3D" parent="map"]
+[node name="ground" type="MeshInstance3D" parent="map"]
 mesh = SubResource("PlaneMesh_w7hmo")
 skeleton = NodePath("../..")
 surface_material_override/0 = SubResource("StandardMaterial3D_hkn0r")
 
-[node name="StaticBody3D" type="StaticBody3D" parent="map/MeshInstance3D"]
+[node name="StaticBody3D" type="StaticBody3D" parent="map/ground"]
 
-[node name="CollisionShape3D" type="CollisionShape3D" parent="map/MeshInstance3D/StaticBody3D"]
+[node name="CollisionShape3D" type="CollisionShape3D" parent="map/ground/StaticBody3D"]
 shape = SubResource("ConcavePolygonShape3D_hby1n")
+
+[node name="Cube" parent="map" instance=ExtResource("3_3tdke")]
+transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.472321, 0, -1.71539)
+
+[node name="Cube2" parent="map" instance=ExtResource("3_3tdke")]
+transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6.22183, 0, -2.93469)
+
+[node name="Cube3" parent="map" instance=ExtResource("3_3tdke")]
+transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6.01348, 0, 0.883314)
+
+[connection signal="camera_lockon" from="player" to="." method="_on_player_camera_lockon"]