X-Git-Url: http://git.purplebirdman.com/william-skin.git/blobdiff_plain/3b1bde10328fa48f1036205b9c5eb6cacb1b103a..3e74277bb1d2ad3f5ccdc26c690a0f6e37ffcd25:/test/test.tscn diff --git a/test/test.tscn b/test/test.tscn index 1dfdf38..164bfe9 100644 --- a/test/test.tscn +++ b/test/test.tscn @@ -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"]