ChronoChamber/Levels/TestZone.tscn

39 lines
1.9 KiB
Text

[gd_scene load_steps=7 format=3 uid="uid://bojbawyoy11i4"]
[ext_resource type="Texture2D" uid="uid://contqwyu7r114" path="res://icon.svg" id="1_gnwph"]
[ext_resource type="Script" path="res://Scripts/Player.gd" id="2_0sf88"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_kgnq8"]
albedo_texture = ExtResource("1_gnwph")
[sub_resource type="BoxMesh" id="BoxMesh_67chd"]
size = Vector3(10, 1, 10)
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_drsh3"]
data = PackedVector3Array(-5, 0.5, 5, 5, 0.5, 5, -5, -0.5, 5, 5, 0.5, 5, 5, -0.5, 5, -5, -0.5, 5, 5, 0.5, -5, -5, 0.5, -5, 5, -0.5, -5, -5, 0.5, -5, -5, -0.5, -5, 5, -0.5, -5, 5, 0.5, 5, 5, 0.5, -5, 5, -0.5, 5, 5, 0.5, -5, 5, -0.5, -5, 5, -0.5, 5, -5, 0.5, -5, -5, 0.5, 5, -5, -0.5, -5, -5, 0.5, 5, -5, -0.5, 5, -5, -0.5, -5, 5, 0.5, 5, -5, 0.5, 5, 5, 0.5, -5, -5, 0.5, 5, -5, 0.5, -5, 5, 0.5, -5, -5, -0.5, 5, 5, -0.5, 5, -5, -0.5, -5, 5, -0.5, 5, 5, -0.5, -5, -5, -0.5, -5)
[sub_resource type="CapsuleMesh" id="CapsuleMesh_5q2rg"]
[node name="TestZone" type="Node3D"]
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
material_override = SubResource("StandardMaterial3D_kgnq8")
mesh = SubResource("BoxMesh_67chd")
[node name="StaticBody3D" type="StaticBody3D" parent="MeshInstance3D"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="MeshInstance3D/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_drsh3")
[node name="Player" type="CharacterBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.83982, 0)
script = ExtResource("2_0sf88")
[node name="MeshInstance3D2" type="MeshInstance3D" parent="Player"]
mesh = SubResource("CapsuleMesh_5q2rg")
skeleton = NodePath("../..")
[node name="Camera3D" type="Camera3D" parent="Player"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.621505, 0)
[node name="CollisionShape3D" type="CollisionShape3D" parent="Player"]