test_joints.tscn 875 B

1234567891011121314151617181920212223242526272829303132
  1. [gd_scene load_steps=3 format=2]
  2. [ext_resource path="res://tests/functional/test_joints.gd" type="Script" id=2]
  3. [ext_resource path="res://tests/test_options.tscn" type="PackedScene" id=4]
  4. [node name="JointTest2D" type="Node2D"]
  5. script = ExtResource( 2 )
  6. [node name="LabelJointType" type="Label" parent="."]
  7. margin_left = 14.0
  8. margin_top = 79.0
  9. margin_right = 145.0
  10. margin_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 )