123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- [gd_scene load_steps=8 format=3 uid="uid://cbvuesb1ptdh4"]
- [ext_resource type="Script" path="res://player/cubio.gd" id="1"]
- [ext_resource type="Script" path="res://player/follow_camera.gd" id="3"]
- [ext_resource type="Material" uid="uid://6m447vojdbos" path="res://models/white_cube_material.tres" id="4"]
- [sub_resource type="PhysicsMaterial" id="PhysicsMaterial_5bo75"]
- friction = 0.5
- [sub_resource type="CapsuleMesh" id="6"]
- height = 1.7
- [sub_resource type="CapsuleShape3D" id="5"]
- height = 1.7
- [sub_resource type="CylinderShape3D" id="CylinderShape3D_vn0tg"]
- height = 0.5
- radius = 0.48
- [node name="RigidDynamicBody3D" type="RigidBody3D"]
- axis_lock_angular_x = true
- axis_lock_angular_y = true
- axis_lock_angular_z = true
- center_of_mass_mode = 1
- physics_material_override = SubResource("PhysicsMaterial_5bo75")
- can_sleep = false
- linear_damp_mode = 1
- linear_damp = 0.5
- script = ExtResource("1")
- [node name="CapsuleMesh" type="MeshInstance3D" parent="."]
- _import_path = NodePath("cube-col")
- mesh = SubResource("6")
- skeleton = NodePath("")
- surface_material_override/0 = ExtResource("4")
- [node name="CollisionShape3D" type="CollisionShape3D" parent="."]
- shape = SubResource("5")
- [node name="Target" type="Node3D" parent="."]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.8, 0)
- [node name="Camera3D" type="Camera3D" parent="Target"]
- transform = Transform3D(0.34202, -0.321394, 0.883022, 0, 0.939693, 0.34202, -0.939693, -0.116978, 0.321394, 2, 0.5, 0.913381)
- fov = 74.0
- near = 0.1
- far = 50.0
- script = ExtResource("3")
- [node name="WinText" type="CenterContainer" parent="."]
- visible = false
- anchors_preset = 10
- anchor_right = 1.0
- offset_bottom = 100.0
- grow_horizontal = 2
- [node name="Holder" type="Control" parent="WinText"]
- layout_mode = 2
- [node name="TextLabel" type="Label" parent="WinText/Holder"]
- layout_mode = 0
- offset_left = -354.0
- offset_right = 354.0
- offset_bottom = 50.0
- theme_override_font_sizes/font_size = 20
- text = "Thank You, Cubio! But the Princess is in Another Demo!"
- horizontal_alignment = 1
- vertical_alignment = 1
- [node name="ShapeCast3D" type="ShapeCast3D" parent="."]
- shape = SubResource("CylinderShape3D_vn0tg")
- target_position = Vector3(0, -0.61, 0)
|