59 lines
2 KiB
Text
59 lines
2 KiB
Text
[gd_scene load_steps=8 format=3 uid="uid://dujoplhd35kqg"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://df5m716pd6mej" path="res://elements/sphere.tscn" id="1_8mffa"]
|
|
[ext_resource type="PackedScene" uid="uid://gis4s061n422" path="res://elements/platform.tscn" id="2_bei4m"]
|
|
|
|
[sub_resource type="GDScript" id="GDScript_hbi5e"]
|
|
script/source = "extends Node3D
|
|
|
|
|
|
# Called when the node enters the scene tree for the first time.
|
|
func _ready() -> void:
|
|
pass # Replace with function body.
|
|
|
|
|
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
|
func _process(delta: float) -> void:
|
|
print($Sphere.position)
|
|
pass
|
|
"
|
|
|
|
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_6pkua"]
|
|
sky_top_color = Color(0.693381, 0.747001, 0.821796, 1)
|
|
ground_bottom_color = Color(0.172348, 0.451084, 0.511099, 1)
|
|
ground_curve = 0.25992
|
|
|
|
[sub_resource type="Sky" id="Sky_4du2k"]
|
|
sky_material = SubResource("ProceduralSkyMaterial_6pkua")
|
|
|
|
[sub_resource type="Environment" id="Environment_jfl74"]
|
|
background_mode = 2
|
|
sky = SubResource("Sky_4du2k")
|
|
ambient_light_source = 3
|
|
ambient_light_color = Color(1, 1, 1, 1)
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_s5ay6"]
|
|
size = Vector3(180, 1, 1)
|
|
|
|
[node name="TestLevel" type="Node3D"]
|
|
script = SubResource("GDScript_hbi5e")
|
|
|
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
|
environment = SubResource("Environment_jfl74")
|
|
|
|
[node name="Sphere" parent="." instance=ExtResource("1_8mffa")]
|
|
|
|
[node name="Platform" parent="." instance=ExtResource("2_bei4m")]
|
|
transform = Transform3D(0.985642, 0.168851, 0, -0.145861, 0.851441, -0.503759, -0.08506, 0.496526, 0.863844, 0, -1.49811, 0)
|
|
|
|
[node name="CollisionShape3D" parent="Platform" index="0"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.0270482, 0)
|
|
shape = SubResource("BoxShape3D_s5ay6")
|
|
|
|
[node name="CSGBox3D" parent="Platform" index="1"]
|
|
size = Vector3(180, 1, 1)
|
|
|
|
[node name="Camera3D" type="Camera3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 15.1993)
|
|
|
|
[editable path="Platform"]
|