test_joints.tscn 931 B

12345678910111213141516171819202122232425262728293031
  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. __meta__ = {
  13. "_edit_use_anchors_": false
  14. }
  15. [node name="Options" parent="." instance=ExtResource( "4" )]
  16. [node name="Joints" type="Node2D" parent="."]
  17. position = Vector2(512, 200)
  18. [node name="PinJoint2D" type="PinJoint2D" parent="Joints"]
  19. [node name="DampedSpringJoint2D" type="DampedSpringJoint2D" parent="Joints"]
  20. [node name="GrooveJoint2D" type="GrooveJoint2D" parent="Joints"]
  21. [node name="Objects" type="Node2D" parent="."]
  22. position = Vector2(512, 200)