DreamBall/test.tscn

52 lines
2.1 KiB
Text
Raw Normal View History

2025-02-21 21:47:35 +01:00
[gd_scene load_steps=6 format=3 uid="uid://dadwk81skcmby"]
[ext_resource type="PackedScene" uid="uid://gis4s061n422" path="res://elements/platform.tscn" id="1_gkiic"]
[ext_resource type="PackedScene" uid="uid://df5m716pd6mej" path="res://elements/sphere.tscn" id="2_71dxp"]
[ext_resource type="PackedScene" uid="uid://b13nd5ibr7xvn" path="res://elements/platform2.tscn" id="3_g25lt"]
[sub_resource type="GDScript" id="GDScript_eib6h"]
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="BoxShape3D" id="BoxShape3D_4eek5"]
size = Vector3(1, 4, 1)
[node name="Test" type="Node3D"]
script = SubResource("GDScript_eib6h")
[node name="Platform" parent="." instance=ExtResource("1_gkiic")]
transform = Transform3D(0.14385, -0.58711, 0.796624, 0.988674, 0.120067, -0.0900406, -0.0427843, 0.800554, 0.597732, 3.00454, -1.58701, 0)
[node name="CollisionShape3D" parent="Platform" index="0"]
transform = Transform3D(1.00001, -1.03377e-07, 3.35276e-07, 2.14204e-07, 1, -7.45058e-07, -4.47035e-08, -5.96046e-08, 1.00001, 0, 0, 0)
shape = SubResource("BoxShape3D_4eek5")
[node name="CSGBox3D" parent="Platform" index="1"]
transform = Transform3D(1.00001, -1.03377e-07, 3.35276e-07, 2.32831e-07, 1, -7.7486e-07, -4.47035e-08, -5.96046e-08, 1.00001, 0, 0, 0)
size = Vector3(1, 4, 1)
[node name="Sphere" parent="." instance=ExtResource("2_71dxp")]
[node name="SpotLight3D" type="SpotLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, -0.0889117, 0.99604, 0, -0.99604, -0.0889117, 0, 0.904974, 0)
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 5.58526)
[node name="Platform2" parent="." instance=ExtResource("3_g25lt")]
transform = Transform3D(0.895688, 0.444682, 0, -0.444682, 0.895688, 0, 0, 0, 1, 0.113522, -0.705501, 0)
size = Vector3(2.45691, 1, 1)
[editable path="Platform"]