2024-08-16 22:23:40 +01:00
|
|
|
[gd_scene load_steps=6 format=3 uid="uid://dgm3241ceqpim"]
|
2024-08-16 20:16:19 +01:00
|
|
|
|
2024-08-16 21:31:09 +01:00
|
|
|
[ext_resource type="Script" path="res://scripts/body.gd" id="1_21au4"]
|
2024-08-16 21:45:16 +01:00
|
|
|
[ext_resource type="PackedScene" uid="uid://nusoljma3t55" path="res://scenes/pickaxe_arm.tscn" id="2_m4hhp"]
|
2024-08-16 22:23:40 +01:00
|
|
|
[ext_resource type="Script" path="res://scripts/camera.gd" id="3_mslwr"]
|
2024-08-16 20:16:19 +01:00
|
|
|
|
|
|
|
[sub_resource type="SphereMesh" id="SphereMesh_jcpb6"]
|
2024-08-16 21:01:19 +01:00
|
|
|
radius = 5.0
|
|
|
|
height = 10.0
|
2024-08-16 20:16:19 +01:00
|
|
|
|
2024-08-16 21:58:21 +01:00
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_16w3w"]
|
|
|
|
radius = 5.0
|
|
|
|
|
|
|
|
[node name="Body" type="RigidBody3D" node_paths=PackedStringArray("arms")]
|
2024-08-16 22:23:40 +01:00
|
|
|
axis_lock_linear_x = true
|
|
|
|
axis_lock_angular_z = true
|
2024-08-16 20:16:19 +01:00
|
|
|
script = ExtResource("1_21au4")
|
2024-08-16 21:51:04 +01:00
|
|
|
arms = [NodePath("ArmPivot/PickaxeArm")]
|
2024-08-16 20:16:19 +01:00
|
|
|
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
|
|
|
mesh = SubResource("SphereMesh_jcpb6")
|
|
|
|
|
2024-08-16 21:58:21 +01:00
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
|
|
|
shape = SubResource("SphereShape3D_16w3w")
|
|
|
|
|
2024-08-16 21:45:16 +01:00
|
|
|
[node name="ArmPivot" type="Node3D" parent="."]
|
2024-08-16 21:43:46 +01:00
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 4.8945, 0)
|
|
|
|
|
2024-08-16 21:45:16 +01:00
|
|
|
[node name="PickaxeArm" parent="ArmPivot" instance=ExtResource("2_m4hhp")]
|
2024-08-16 22:23:40 +01:00
|
|
|
|
|
|
|
[node name="Camera3D" type="Camera3D" parent="."]
|
|
|
|
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 32, 0, 0)
|
|
|
|
script = ExtResource("3_mslwr")
|