arm movement

This commit is contained in:
oughtum 2024-08-16 23:07:59 +01:00
parent f3e161d48c
commit f16e42a8d0
4 changed files with 49 additions and 19 deletions

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=7 format=3 uid="uid://n05pnykd3tff"]
[gd_scene load_steps=9 format=3 uid="uid://n05pnykd3tff"]
[ext_resource type="PackedScene" uid="uid://dgm3241ceqpim" path="res://scenes/body.tscn" id="1_eeca8"]
@ -21,6 +21,12 @@ size = Vector3(50, 1, 50)
[sub_resource type="BoxShape3D" id="BoxShape3D_0lkv2"]
size = Vector3(50, 1, 50)
[sub_resource type="BoxMesh" id="BoxMesh_6hnpm"]
size = Vector3(25, 1, 100)
[sub_resource type="BoxShape3D" id="BoxShape3D_qcnmp"]
size = Vector3(25, 1, 100)
[node name="Main" type="Node3D"]
[node name="CanvasLayer" type="CanvasLayer" parent="."]
@ -58,4 +64,15 @@ skeleton = NodePath("../..")
[node name="CollisionShape3D" type="CollisionShape3D" parent="World/StaticBody3D"]
shape = SubResource("BoxShape3D_0lkv2")
[node name="StaticBody3D2" type="StaticBody3D" parent="World"]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 50, -18)
[node name="MeshInstance3D" type="MeshInstance3D" parent="World/StaticBody3D2"]
mesh = SubResource("BoxMesh_6hnpm")
skeleton = NodePath("../..")
[node name="CollisionShape3D" type="CollisionShape3D" parent="World/StaticBody3D2"]
shape = SubResource("BoxShape3D_qcnmp")
[node name="Body" parent="World" instance=ExtResource("1_eeca8")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 7, 0)