72 lines
2.3 KiB
Plaintext
72 lines
2.3 KiB
Plaintext
[gd_scene load_steps=9 format=3 uid="uid://cl3a4jhoypq0v"]
|
|
|
|
[ext_resource type="Script" path="res://player/player_moves.gd" id="1_v38n3"]
|
|
[ext_resource type="PackedScene" uid="uid://ct8dkx4n1b0ox" path="res://player/player_nojump_model.blend" id="2_od5sl"]
|
|
[ext_resource type="Script" path="res://player/seek_level.gd" id="3_31meq"]
|
|
[ext_resource type="Texture2D" uid="uid://bqob1me602loa" path="res://primitives/icons/hitbox0.png" id="4_qqb60"]
|
|
|
|
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_s88nq"]
|
|
friction = 7.0
|
|
rough = true
|
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_qx3du"]
|
|
radius = 1.0
|
|
|
|
[sub_resource type="GDScript" id="GDScript_pbl37"]
|
|
script/source = "extends Node3D
|
|
|
|
|
|
"
|
|
|
|
[sub_resource type="CapsuleMesh" id="CapsuleMesh_1nqfw"]
|
|
radius = 0.1
|
|
height = 2.787
|
|
|
|
[node name="player" type="RigidBody3D"]
|
|
collision_layer = 5
|
|
physics_material_override = SubResource("PhysicsMaterial_s88nq")
|
|
gravity_scale = 0.0
|
|
angular_damp = 6.0
|
|
script = ExtResource("1_v38n3")
|
|
allow_jump = false
|
|
|
|
[node name="collider" type="CollisionShape3D" parent="."]
|
|
shape = SubResource("SphereShape3D_qx3du")
|
|
|
|
[node name="player_model" parent="." instance=ExtResource("2_od5sl")]
|
|
|
|
[node name="grounded" type="RayCast3D" parent="."]
|
|
top_level = true
|
|
target_position = Vector3(0, -1.01, 0)
|
|
|
|
[node name="grounded_override" type="RayCast3D" parent="."]
|
|
top_level = true
|
|
target_position = Vector3(0, -2, 0)
|
|
collision_mask = 32
|
|
|
|
[node name="level" type="Node3D" parent="."]
|
|
top_level = true
|
|
script = ExtResource("3_31meq")
|
|
|
|
[node name="gimbal_y" type="Node3D" parent="level"]
|
|
script = SubResource("GDScript_pbl37")
|
|
|
|
[node name="gimbal_x" type="Node3D" parent="level/gimbal_y"]
|
|
|
|
[node name="stick" type="Node3D" parent="level/gimbal_y/gimbal_x"]
|
|
|
|
[node name="camera" type="Camera3D" parent="level/gimbal_y/gimbal_x/stick"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 14.3224)
|
|
fov = 1.0
|
|
|
|
[node name="Sprite3D" type="Sprite3D" parent="level/gimbal_y/gimbal_x/stick/camera"]
|
|
transform = Transform3D(0.001, 0, 0, 0, 0.001, 0, 0, 0, 0.001, 0, 0, -0.306273)
|
|
texture = ExtResource("4_qqb60")
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="level"]
|
|
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0)
|
|
mesh = SubResource("CapsuleMesh_1nqfw")
|
|
|
|
[node name="true_level" type="Node3D" parent="level"]
|
|
top_level = true
|