carotrauma/scenes/sandbox/sandbox_scene.tscn

47 lines
1.8 KiB
Text
Raw Normal View History

[gd_scene load_steps=8 format=3 uid="uid://c3hv3mdy52mar"]
2024-05-27 19:42:11 +01:00
[ext_resource type="PackedScene" uid="uid://v5iatrrwgror" path="res://scenes/sandbox/player/player_scene.tscn" id="1_6lr48"]
[ext_resource type="Script" path="res://scenes/sandbox/player/SandboxPlayer.cs" id="2_3mcgf"]
[ext_resource type="Script" path="res://scripts/libs/input/InputContext.cs" id="2_mp2vp"]
2024-05-27 19:42:11 +01:00
[sub_resource type="BoxShape3D" id="BoxShape3D_tcgka"]
size = Vector3(60, 2, 60)
[sub_resource type="BoxMesh" id="BoxMesh_u6qt5"]
size = Vector3(60, 2, 60)
[sub_resource type="SphereShape3D" id="SphereShape3D_31ll2"]
[sub_resource type="SphereMesh" id="SphereMesh_gsyqq"]
[node name="Main" type="Node"]
[node name="Ground" type="StaticBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, 0)
[node name="CollisionShape3D" type="CollisionShape3D" parent="Ground"]
shape = SubResource("BoxShape3D_tcgka")
[node name="MeshInstance3D" type="MeshInstance3D" parent="Ground"]
mesh = SubResource("BoxMesh_u6qt5")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(0.77844, -0.360888, 0.513606, 0, 0.81821, 0.57492, -0.627719, -0.447541, 0.636928, 7.0759, 14.6786, 9.0239)
shadow_enabled = true
[node name="Ball" type="StaticBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.95648, 10.636, 6.23691)
[node name="CollisionShape3D" type="CollisionShape3D" parent="Ball"]
shape = SubResource("SphereShape3D_31ll2")
[node name="MeshInstance3D" type="MeshInstance3D" parent="Ball"]
mesh = SubResource("SphereMesh_gsyqq")
[node name="Player" parent="." instance=ExtResource("1_6lr48")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.04543, 0)
script = ExtResource("2_3mcgf")
[node name="Node" type="Node" parent="Player"]
script = ExtResource("2_mp2vp")