This commit is contained in:
oughtum 2024-08-16 21:58:21 +01:00
parent a7abfddba6
commit f06fcde55b
2 changed files with 13 additions and 3 deletions

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=4 format=3 uid="uid://dgm3241ceqpim"]
[gd_scene load_steps=5 format=3 uid="uid://dgm3241ceqpim"]
[ext_resource type="Script" path="res://scripts/body.gd" id="1_21au4"]
[ext_resource type="PackedScene" uid="uid://nusoljma3t55" path="res://scenes/pickaxe_arm.tscn" id="2_m4hhp"]
@ -7,13 +7,19 @@
radius = 5.0
height = 10.0
[node name="Body" type="Node3D" node_paths=PackedStringArray("arms")]
[sub_resource type="SphereShape3D" id="SphereShape3D_16w3w"]
radius = 5.0
[node name="Body" type="RigidBody3D" node_paths=PackedStringArray("arms")]
script = ExtResource("1_21au4")
arms = [NodePath("ArmPivot/PickaxeArm")]
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
mesh = SubResource("SphereMesh_jcpb6")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
shape = SubResource("SphereShape3D_16w3w")
[node name="ArmPivot" type="Node3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 4.8945, 0)