generated from krampus/template-godot4
72 lines
2.3 KiB
Plaintext
72 lines
2.3 KiB
Plaintext
|
[gd_scene load_steps=9 format=3 uid="uid://16ds4fvv72xk"]
|
||
|
|
||
|
[ext_resource type="PackedScene" uid="uid://bwe2jdmvinhqd" path="res://src/player/player.tscn" id="1_h436a"]
|
||
|
|
||
|
[sub_resource type="Environment" id="Environment_cc548"]
|
||
|
background_mode = 1
|
||
|
tonemap_mode = 3
|
||
|
fog_enabled = true
|
||
|
fog_light_color = Color(0, 0, 0, 1)
|
||
|
fog_density = 0.2
|
||
|
|
||
|
[sub_resource type="PlaneMesh" id="PlaneMesh_4afx3"]
|
||
|
size = Vector2(50, 50)
|
||
|
|
||
|
[sub_resource type="WorldBoundaryShape3D" id="WorldBoundaryShape3D_c8g65"]
|
||
|
|
||
|
[sub_resource type="BoxMesh" id="BoxMesh_mer5b"]
|
||
|
|
||
|
[sub_resource type="BoxShape3D" id="BoxShape3D_hx5n6"]
|
||
|
|
||
|
[sub_resource type="CylinderMesh" id="CylinderMesh_a1koa"]
|
||
|
top_radius = 1.0
|
||
|
bottom_radius = 1.0
|
||
|
height = 4.0
|
||
|
|
||
|
[sub_resource type="CylinderShape3D" id="CylinderShape3D_uo57d"]
|
||
|
height = 4.0
|
||
|
radius = 1.0
|
||
|
|
||
|
[node name="Sandbox" type="Node3D"]
|
||
|
|
||
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
||
|
environment = SubResource("Environment_cc548")
|
||
|
|
||
|
[node name="SpotLight3D" type="SpotLight3D" parent="."]
|
||
|
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 10, 0)
|
||
|
light_energy = 16.0
|
||
|
shadow_enabled = true
|
||
|
spot_range = 20.0
|
||
|
spot_angle_attenuation = 0.05
|
||
|
|
||
|
[node name="Geometry" type="Node3D" parent="."]
|
||
|
|
||
|
[node name="Floor" type="StaticBody3D" parent="Geometry"]
|
||
|
|
||
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Geometry/Floor"]
|
||
|
mesh = SubResource("PlaneMesh_4afx3")
|
||
|
skeleton = NodePath("../..")
|
||
|
|
||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Geometry/Floor"]
|
||
|
shape = SubResource("WorldBoundaryShape3D_c8g65")
|
||
|
|
||
|
[node name="Box" type="StaticBody3D" parent="Geometry"]
|
||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0.5, 4)
|
||
|
|
||
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Geometry/Box"]
|
||
|
mesh = SubResource("BoxMesh_mer5b")
|
||
|
|
||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Geometry/Box"]
|
||
|
shape = SubResource("BoxShape3D_hx5n6")
|
||
|
|
||
|
[node name="Cylinder" type="StaticBody3D" parent="Geometry"]
|
||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4, 2, -2)
|
||
|
|
||
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Geometry/Cylinder"]
|
||
|
mesh = SubResource("CylinderMesh_a1koa")
|
||
|
|
||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Geometry/Cylinder"]
|
||
|
shape = SubResource("CylinderShape3D_uo57d")
|
||
|
|
||
|
[node name="Player" parent="." instance=ExtResource("1_h436a")]
|