72 lines
2.6 KiB
Plaintext
72 lines
2.6 KiB
Plaintext
[gd_scene load_steps=10 format=3 uid="uid://dchj6g2i8ebph"]
|
|
|
|
[ext_resource type="Script" uid="uid://bpxggc8nr6tf6" path="res://scenes/player.gd" id="1_muv8p"]
|
|
[ext_resource type="PackedScene" uid="uid://c5of6aaxop1hl" path="res://scenes/block.tscn" id="2_tc7dm"]
|
|
|
|
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_2q6dc"]
|
|
bounce = 0.5
|
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_2q6dc"]
|
|
|
|
[sub_resource type="SphereMesh" id="SphereMesh_w7c3h"]
|
|
|
|
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_w8frs"]
|
|
bounce = 0.5
|
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_mx8sn"]
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_2q6dc"]
|
|
size = Vector3(1080, 2, 1080)
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_w7c3h"]
|
|
size = Vector3(1080, 2, 1080)
|
|
|
|
[node name="Node3D" type="Node3D"]
|
|
|
|
[node name="Thing" type="RigidBody3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -3.7986288)
|
|
physics_material_override = SubResource("PhysicsMaterial_2q6dc")
|
|
gravity_scale = 0.0
|
|
contact_monitor = true
|
|
max_contacts_reported = 5
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Thing"]
|
|
shape = SubResource("SphereShape3D_2q6dc")
|
|
debug_color = Color(0.29772994, 0.6216631, 0.28140613, 0.41960785)
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Thing"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
|
|
mesh = SubResource("SphereMesh_w7c3h")
|
|
|
|
[node name="Player" type="RigidBody3D" parent="."]
|
|
physics_material_override = SubResource("PhysicsMaterial_w8frs")
|
|
script = ExtResource("1_muv8p")
|
|
camera_path = NodePath("Camera3D")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Player"]
|
|
shape = SubResource("SphereShape3D_mx8sn")
|
|
|
|
[node name="Camera3D" type="Camera3D" parent="Player"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.31670225, 0)
|
|
|
|
[node name="Ground" type="StaticBody3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, 0)
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Ground"]
|
|
shape = SubResource("BoxShape3D_2q6dc")
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Ground"]
|
|
mesh = SubResource("BoxMesh_w7c3h")
|
|
|
|
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 0.5, 0.8660253, 0, -0.8660253, 0.5, 0, 34, 0)
|
|
shadow_enabled = true
|
|
|
|
[node name="Starter Blocks" type="Node3D" parent="."]
|
|
|
|
[node name="Block" parent="Starter Blocks" instance=ExtResource("2_tc7dm")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.298158, -7.0724635)
|
|
|
|
[node name="Block2" parent="Starter Blocks" instance=ExtResource("2_tc7dm")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.63255787, 2.596316, -6.980046)
|