armies can movies

This commit is contained in:
oughtum 2024-08-16 23:59:49 +01:00
parent 909008457b
commit 91a908ca20
4 changed files with 25 additions and 11 deletions

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=6 format=3 uid="uid://dgm3241ceqpim"]
[gd_scene load_steps=7 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"]
@ -11,6 +11,9 @@ height = 10.0
[sub_resource type="SphereShape3D" id="SphereShape3D_16w3w"]
radius = 5.0
[sub_resource type="WorldBoundaryShape3D" id="WorldBoundaryShape3D_vlifr"]
plane = Plane(1000, 0, 0, 0)
[node name="Body" type="RigidBody3D" node_paths=PackedStringArray("arms")]
axis_lock_linear_x = true
axis_lock_angular_z = true
@ -31,3 +34,10 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 4.8945, 0)
[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")
[node name="RaycastPlane" type="StaticBody3D" parent="."]
collision_layer = 2
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="RaycastPlane"]
shape = SubResource("WorldBoundaryShape3D_vlifr")

View file

@ -38,12 +38,14 @@ anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
[node name="UI" type="Control" parent="CanvasLayer"]
layout_mode = 3
anchors_preset = 0
offset_right = 40.0
offset_bottom = 40.0
mouse_filter = 2
metadata/_edit_lock_ = true
[node name="World" type="Node3D" parent="."]
@ -76,4 +78,4 @@ skeleton = NodePath("../..")
shape = SubResource("BoxShape3D_qcnmp")
[node name="Body" parent="World" instance=ExtResource("1_eeca8")]
transform = Transform3D(-0.405636, -0.914035, 0, 0.914035, -0.405636, 0, 0, 0, 1, 0, 11.4413, 0)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 6, 0)