|
@@ -17,11 +17,12 @@
|
|
points = PackedVector3Array(-0.7, 0, -0.7, -0.3, 0, 0.8, 0.8, 0, -0.3, 0, -1, 0)
|
|
points = PackedVector3Array(-0.7, 0, -0.7, -0.3, 0, 0.8, 0.8, 0, -0.3, 0, -1, 0)
|
|
|
|
|
|
[node name="Test" type="Node3D"]
|
|
[node name="Test" type="Node3D"]
|
|
-script = ExtResource( "2" )
|
|
|
|
|
|
+script = ExtResource("2")
|
|
|
|
|
|
-[node name="Options" parent="." instance=ExtResource( "5" )]
|
|
|
|
|
|
+[node name="Options" parent="." instance=ExtResource("5")]
|
|
|
|
|
|
[node name="Controls" type="VBoxContainer" parent="."]
|
|
[node name="Controls" type="VBoxContainer" parent="."]
|
|
|
|
+anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_left = 25.0
|
|
offset_left = 25.0
|
|
@@ -29,77 +30,51 @@ offset_top = 417.0
|
|
offset_right = -806.0
|
|
offset_right = -806.0
|
|
offset_bottom = -141.0
|
|
offset_bottom = -141.0
|
|
theme_override_constants/separation = 10
|
|
theme_override_constants/separation = 10
|
|
-__meta__ = {
|
|
|
|
-"_edit_use_anchors_": false
|
|
|
|
-}
|
|
|
|
|
|
|
|
[node name="OffsetX" type="HBoxContainer" parent="Controls"]
|
|
[node name="OffsetX" type="HBoxContainer" parent="Controls"]
|
|
-offset_right = 193.0
|
|
|
|
-offset_bottom = 26.0
|
|
|
|
|
|
+layout_mode = 2
|
|
theme_override_constants/separation = 20
|
|
theme_override_constants/separation = 20
|
|
alignment = 2
|
|
alignment = 2
|
|
-__meta__ = {
|
|
|
|
-"_edit_use_anchors_": false
|
|
|
|
-}
|
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="Controls/OffsetX"]
|
|
[node name="Label" type="Label" parent="Controls/OffsetX"]
|
|
-offset_left = 103.0
|
|
|
|
-offset_right = 165.0
|
|
|
|
-offset_bottom = 26.0
|
|
|
|
|
|
+layout_mode = 2
|
|
text = "Offset X"
|
|
text = "Offset X"
|
|
|
|
|
|
[node name="HSlider" type="HSlider" parent="Controls/OffsetX"]
|
|
[node name="HSlider" type="HSlider" parent="Controls/OffsetX"]
|
|
-offset_left = 185.0
|
|
|
|
-offset_right = 193.0
|
|
|
|
-offset_bottom = 16.0
|
|
|
|
|
|
+custom_minimum_size = Vector2(230, 2.08165e-12)
|
|
|
|
+layout_mode = 2
|
|
min_value = -1.0
|
|
min_value = -1.0
|
|
max_value = 1.0
|
|
max_value = 1.0
|
|
step = 0.01
|
|
step = 0.01
|
|
|
|
|
|
[node name="OffsetY" type="HBoxContainer" parent="Controls"]
|
|
[node name="OffsetY" type="HBoxContainer" parent="Controls"]
|
|
-offset_top = 36.0
|
|
|
|
-offset_right = 193.0
|
|
|
|
-offset_bottom = 62.0
|
|
|
|
|
|
+layout_mode = 2
|
|
theme_override_constants/separation = 20
|
|
theme_override_constants/separation = 20
|
|
alignment = 2
|
|
alignment = 2
|
|
-__meta__ = {
|
|
|
|
-"_edit_use_anchors_": false
|
|
|
|
-}
|
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="Controls/OffsetY"]
|
|
[node name="Label" type="Label" parent="Controls/OffsetY"]
|
|
-offset_left = 103.0
|
|
|
|
-offset_right = 165.0
|
|
|
|
-offset_bottom = 26.0
|
|
|
|
|
|
+layout_mode = 2
|
|
text = "Offset Y"
|
|
text = "Offset Y"
|
|
|
|
|
|
[node name="HSlider" type="HSlider" parent="Controls/OffsetY"]
|
|
[node name="HSlider" type="HSlider" parent="Controls/OffsetY"]
|
|
-offset_left = 185.0
|
|
|
|
-offset_right = 193.0
|
|
|
|
-offset_bottom = 16.0
|
|
|
|
|
|
+custom_minimum_size = Vector2(230, 2.08165e-12)
|
|
|
|
+layout_mode = 2
|
|
min_value = -1.0
|
|
min_value = -1.0
|
|
max_value = 1.0
|
|
max_value = 1.0
|
|
step = 0.01
|
|
step = 0.01
|
|
|
|
|
|
[node name="OffsetZ" type="HBoxContainer" parent="Controls"]
|
|
[node name="OffsetZ" type="HBoxContainer" parent="Controls"]
|
|
-offset_top = 72.0
|
|
|
|
-offset_right = 193.0
|
|
|
|
-offset_bottom = 98.0
|
|
|
|
|
|
+layout_mode = 2
|
|
theme_override_constants/separation = 20
|
|
theme_override_constants/separation = 20
|
|
alignment = 2
|
|
alignment = 2
|
|
-__meta__ = {
|
|
|
|
-"_edit_use_anchors_": false
|
|
|
|
-}
|
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="Controls/OffsetZ"]
|
|
[node name="Label" type="Label" parent="Controls/OffsetZ"]
|
|
-offset_left = 104.0
|
|
|
|
-offset_right = 165.0
|
|
|
|
-offset_bottom = 26.0
|
|
|
|
|
|
+layout_mode = 2
|
|
text = "Offset Z"
|
|
text = "Offset Z"
|
|
|
|
|
|
[node name="HSlider" type="HSlider" parent="Controls/OffsetZ"]
|
|
[node name="HSlider" type="HSlider" parent="Controls/OffsetZ"]
|
|
-offset_left = 185.0
|
|
|
|
-offset_right = 193.0
|
|
|
|
-offset_bottom = 16.0
|
|
|
|
|
|
+custom_minimum_size = Vector2(230, 2.08165e-12)
|
|
|
|
+layout_mode = 2
|
|
min_value = -1.0
|
|
min_value = -1.0
|
|
max_value = 1.0
|
|
max_value = 1.0
|
|
step = 0.01
|
|
step = 0.01
|
|
@@ -107,55 +82,55 @@ step = 0.01
|
|
[node name="Shapes" type="Node3D" parent="."]
|
|
[node name="Shapes" type="Node3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 9.35591, 0)
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 9.35591, 0)
|
|
|
|
|
|
-[node name="RigidBodyBox" type="RigidDynamicBody3D" parent="Shapes"]
|
|
|
|
|
|
+[node name="RigidBodyBox" type="RigidBody3D" parent="Shapes"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6, 0, 0)
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6, 0, 0)
|
|
freeze = true
|
|
freeze = true
|
|
|
|
|
|
[node name="CollisionShape" type="CollisionShape3D" parent="Shapes/RigidBodyBox"]
|
|
[node name="CollisionShape" type="CollisionShape3D" parent="Shapes/RigidBodyBox"]
|
|
transform = Transform3D(0.579556, 0.0885213, 0.145926, 0, 0.939693, -0.205212, -0.155291, 0.330366, 0.544604, 0, 0, 0)
|
|
transform = Transform3D(0.579556, 0.0885213, 0.145926, 0, 0.939693, -0.205212, -0.155291, 0.330366, 0.544604, 0, 0, 0)
|
|
-shape = SubResource( "1" )
|
|
|
|
|
|
+shape = SubResource("1")
|
|
|
|
|
|
-[node name="RigidBodySphere" type="RigidDynamicBody3D" parent="Shapes"]
|
|
|
|
|
|
+[node name="RigidBodySphere" type="RigidBody3D" parent="Shapes"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3, 0, 0)
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3, 0, 0)
|
|
freeze = true
|
|
freeze = true
|
|
|
|
|
|
[node name="CollisionShape" type="CollisionShape3D" parent="Shapes/RigidBodySphere"]
|
|
[node name="CollisionShape" type="CollisionShape3D" parent="Shapes/RigidBodySphere"]
|
|
transform = Transform3D(1.2, 0, 0, 0, 1.2, 0, 0, 0, 1.2, 0, 0, 0)
|
|
transform = Transform3D(1.2, 0, 0, 0, 1.2, 0, 0, 0, 1.2, 0, 0, 0)
|
|
-shape = SubResource( "2" )
|
|
|
|
|
|
+shape = SubResource("2")
|
|
|
|
|
|
-[node name="RigidBodyCapsule" type="RigidDynamicBody3D" parent="Shapes"]
|
|
|
|
|
|
+[node name="RigidBodyCapsule" type="RigidBody3D" parent="Shapes"]
|
|
freeze = true
|
|
freeze = true
|
|
|
|
|
|
[node name="CollisionShape" type="CollisionShape3D" parent="Shapes/RigidBodyCapsule"]
|
|
[node name="CollisionShape" type="CollisionShape3D" parent="Shapes/RigidBodyCapsule"]
|
|
transform = Transform3D(0.8, 0, 0, 0, 0.8, 0, 0, 0, 0.8, 0, 0, 0)
|
|
transform = Transform3D(0.8, 0, 0, 0, 0.8, 0, 0, 0, 0.8, 0, 0, 0)
|
|
-shape = SubResource( "3" )
|
|
|
|
|
|
+shape = SubResource("3")
|
|
|
|
|
|
-[node name="RigidBodyCylinder" type="RigidDynamicBody3D" parent="Shapes"]
|
|
|
|
|
|
+[node name="RigidBodyCylinder" type="RigidBody3D" parent="Shapes"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0, 0)
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0, 0)
|
|
freeze = true
|
|
freeze = true
|
|
|
|
|
|
[node name="CollisionShape" type="CollisionShape3D" parent="Shapes/RigidBodyCylinder"]
|
|
[node name="CollisionShape" type="CollisionShape3D" parent="Shapes/RigidBodyCylinder"]
|
|
transform = Transform3D(0.772741, -0.258819, 2.59821e-08, 0.2, 0.933013, -0.207055, 0.0535898, 0.25, 0.772741, 0, 0, 0)
|
|
transform = Transform3D(0.772741, -0.258819, 2.59821e-08, 0.2, 0.933013, -0.207055, 0.0535898, 0.25, 0.772741, 0, 0, 0)
|
|
-shape = SubResource( "4" )
|
|
|
|
|
|
+shape = SubResource("4")
|
|
|
|
|
|
-[node name="RigidBodyConvexPolygon" type="RigidDynamicBody3D" parent="Shapes"]
|
|
|
|
|
|
+[node name="RigidBodyConvexPolygon" type="RigidBody3D" parent="Shapes"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6, -0.211, 0)
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6, -0.211, 0)
|
|
freeze = true
|
|
freeze = true
|
|
|
|
|
|
[node name="CollisionShape" type="CollisionShape3D" parent="Shapes/RigidBodyConvexPolygon"]
|
|
[node name="CollisionShape" type="CollisionShape3D" parent="Shapes/RigidBodyConvexPolygon"]
|
|
transform = Transform3D(2, 0, 0, 0, 2.95442, 0.347296, 0, -0.520945, 1.96962, 0, 0.35, 0)
|
|
transform = Transform3D(2, 0, 0, 0, 2.95442, 0.347296, 0, -0.520945, 1.96962, 0, 0.35, 0)
|
|
-shape = SubResource( "5" )
|
|
|
|
|
|
+shape = SubResource("5")
|
|
|
|
|
|
[node name="RigidBodyConcavePolygon" type="StaticBody3D" parent="Shapes"]
|
|
[node name="RigidBodyConcavePolygon" type="StaticBody3D" parent="Shapes"]
|
|
transform = Transform3D(2, 0, 0, 0, 2, 0, 0, 0, 2, 0, -6, 3.934)
|
|
transform = Transform3D(2, 0, 0, 0, 2, 0, 0, 0, 2, 0, -6, 3.934)
|
|
|
|
|
|
[node name="CollisionShape" type="CollisionShape3D" parent="Shapes/RigidBodyConcavePolygon"]
|
|
[node name="CollisionShape" type="CollisionShape3D" parent="Shapes/RigidBodyConcavePolygon"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, 0)
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, 0)
|
|
-shape = ExtResource( "1" )
|
|
|
|
|
|
+shape = ExtResource("1")
|
|
|
|
|
|
[node name="Camera3D" type="Camera3D" parent="."]
|
|
[node name="Camera3D" type="Camera3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 8.38087, 11.8164)
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 8.38087, 11.8164)
|
|
-script = ExtResource( "4" )
|
|
|
|
|
|
+script = ExtResource("4")
|
|
|
|
|
|
[connection signal="value_changed" from="Controls/OffsetX/HSlider" to="." method="set_x_offset"]
|
|
[connection signal="value_changed" from="Controls/OffsetX/HSlider" to="." method="set_x_offset"]
|
|
[connection signal="value_changed" from="Controls/OffsetY/HSlider" to="." method="set_y_offset"]
|
|
[connection signal="value_changed" from="Controls/OffsetY/HSlider" to="." method="set_y_offset"]
|