GMTKGameJam2024/scenes/body.tscn
2024-08-16 21:58:21 +01:00

26 lines
949 B
Text

[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"]
[sub_resource type="SphereMesh" id="SphereMesh_jcpb6"]
radius = 5.0
height = 10.0
[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)
[node name="PickaxeArm" parent="ArmPivot" instance=ExtResource("2_m4hhp")]