55 lines
2.2 KiB
Plaintext
55 lines
2.2 KiB
Plaintext
[gd_scene load_steps=9 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"]
|
|
[ext_resource type="Script" path="res://player_camera.gd" id="3_as6nl"]
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_t1cxb"]
|
|
albedo_color = Color(0.0862745, 0.470588, 0.839216, 1)
|
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_sjmr4"]
|
|
|
|
[sub_resource type="PhysicalSkyMaterial" id="PhysicalSkyMaterial_ffy4a"]
|
|
|
|
[sub_resource type="Sky" id="Sky_8qk6q"]
|
|
sky_material = SubResource("PhysicalSkyMaterial_ffy4a")
|
|
|
|
[sub_resource type="Environment" id="Environment_srrj6"]
|
|
background_mode = 2
|
|
sky = SubResource("Sky_8qk6q")
|
|
ambient_light_source = 3
|
|
reflected_light_source = 2
|
|
|
|
[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="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
|
transform = Transform3D(-0.370338, 0.860141, -0.350723, 0.466547, 0.498728, 0.730482, 0.803233, 0.106897, -0.585995, 21.9756, 11.6848, 1.12691)
|
|
light_energy = 0.41
|
|
light_angular_distance = 8.26
|
|
directional_shadow_mode = 0
|
|
|
|
[node name="player" type="CharacterBody3D" parent="." node_paths=PackedStringArray("camera")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -7.76396, 0)
|
|
script = ExtResource("2_f4o04")
|
|
camera = NodePath("../Camera3D")
|
|
|
|
[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")
|
|
|
|
[node name="Camera3D" type="Camera3D" parent="." node_paths=PackedStringArray("player")]
|
|
transform = Transform3D(1, 0, 0, 0, 0.951057, 0.309017, 0, -0.309017, 0.951057, 0, 4.64082, 18.3615)
|
|
environment = SubResource("Environment_srrj6")
|
|
current = true
|
|
script = ExtResource("3_as6nl")
|
|
player = NodePath("../player")
|