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)

View file

@ -1,4 +1,6 @@
[gd_scene load_steps=6 format=3 uid="uid://n05pnykd3tff"]
[gd_scene load_steps=7 format=3 uid="uid://n05pnykd3tff"]
[ext_resource type="PackedScene" uid="uid://dgm3241ceqpim" path="res://scenes/body.tscn" id="1_eeca8"]
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_fouvd"]
sky_horizon_color = Color(0.64625, 0.65575, 0.67075, 1)
@ -55,3 +57,5 @@ skeleton = NodePath("../..")
[node name="CollisionShape3D" type="CollisionShape3D" parent="World/StaticBody3D"]
shape = SubResource("BoxShape3D_0lkv2")
[node name="Body" parent="World" instance=ExtResource("1_eeca8")]