49 lines
1.9 KiB
Plaintext
49 lines
1.9 KiB
Plaintext
|
[gd_scene load_steps=8 format=3 uid="uid://cuohiydexf5n"]
|
||
|
|
||
|
[ext_resource type="PackedScene" uid="uid://c4ye4j37eiuhb" path="res://test_ground.tscn" id="1_p7ywp"]
|
||
|
[ext_resource type="Script" path="res://player.gd" id="2_f4o04"]
|
||
|
|
||
|
[sub_resource type="PhysicalSkyMaterial" id="PhysicalSkyMaterial_mh53i"]
|
||
|
|
||
|
[sub_resource type="Sky" id="Sky_fu4y1"]
|
||
|
sky_material = SubResource("PhysicalSkyMaterial_mh53i")
|
||
|
|
||
|
[sub_resource type="Environment" id="Environment_lamky"]
|
||
|
background_mode = 2
|
||
|
background_color = Color(0, 0.611765, 0.533333, 1)
|
||
|
sky = SubResource("Sky_fu4y1")
|
||
|
sky_custom_fov = 1.2
|
||
|
|
||
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_t1cxb"]
|
||
|
albedo_color = Color(0.0862745, 0.470588, 0.839216, 1)
|
||
|
|
||
|
[sub_resource type="SphereShape3D" id="SphereShape3D_sjmr4"]
|
||
|
|
||
|
[node name="Node3D" type="Node3D"]
|
||
|
|
||
|
[node name="test_ground" parent="." instance=ExtResource("1_p7ywp")]
|
||
|
transform = Transform3D(0.9994, -0.0346379, 0, 0.0346379, 0.9994, 0, 0, 0, 1, -1.52052, -9.32694, -0.309357)
|
||
|
|
||
|
[node name="Camera3D" type="Camera3D" parent="."]
|
||
|
transform = Transform3D(0.00469292, -0.310288, 0.950631, -0.0542184, 0.949164, 0.310077, -0.998518, -0.0529968, -0.0123689, 80.7546, 36.3879, 1.88406)
|
||
|
environment = SubResource("Environment_lamky")
|
||
|
current = true
|
||
|
|
||
|
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
||
|
transform = Transform3D(0.0657009, 0.989589, 0.12805, 0.676529, -0.138506, 0.723274, 0.73348, 0.0391095, -0.678585, 21.9756, 11.6848, 1.12691)
|
||
|
light_energy = 0.41
|
||
|
light_angular_distance = 8.26
|
||
|
|
||
|
[node name="player" type="CharacterBody3D" parent="."]
|
||
|
script = ExtResource("2_f4o04")
|
||
|
|
||
|
[node name="CSGSphere3D" type="CSGSphere3D" parent="player"]
|
||
|
radius = 2.0
|
||
|
radial_segments = 30
|
||
|
rings = 18
|
||
|
material = SubResource("StandardMaterial3D_t1cxb")
|
||
|
|
||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="player"]
|
||
|
transform = Transform3D(4, 0, 0, 0, 4, 0, 0, 0, 4, 0, 0, 0)
|
||
|
shape = SubResource("SphereShape3D_sjmr4")
|