test_joints.tscn 884 B

1234567891011121314151617181920212223242526272829
  1. [gd_scene load_steps=3 format=3 uid="uid://bckpvilds8sif"]
  2. [ext_resource type="Script" path="res://tests/functional/test_joints.gd" id="2"]
  3. [ext_resource type="PackedScene" uid="uid://blh3twy74kbkv" path="res://tests/test_options.tscn" id="4"]
  4. [node name="JointTest2D" type="Node2D"]
  5. script = ExtResource("2")
  6. [node name="LabelJointType" type="Label" parent="."]
  7. offset_left = 14.0
  8. offset_top = 79.0
  9. offset_right = 145.0
  10. offset_bottom = 93.0
  11. text = "Joint Type: "
  12. [node name="Options" parent="." instance=ExtResource("4")]
  13. [node name="Joints" type="Node2D" parent="."]
  14. position = Vector2(512, 200)
  15. [node name="PinJoint2D" type="PinJoint2D" parent="Joints"]
  16. [node name="DampedSpringJoint2D" type="DampedSpringJoint2D" parent="Joints"]
  17. [node name="GrooveJoint2D" type="GrooveJoint2D" parent="Joints"]
  18. [node name="Objects" type="Node2D" parent="."]
  19. position = Vector2(512, 200)