ragdoll.tscn 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. [gd_scene format=2]
  2. [node name="Node2D" type="Node2D"]
  3. [node name="A" type="RigidBody2D" parent="."]
  4. position = Vector2( 483, 158 )
  5. [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="A"]
  6. position = Vector2( 6, 17 )
  7. polygon = PoolVector2Array( -38, 6, 28, 6, 28, -45, -40, -45 )
  8. __meta__ = {
  9. "_edit_lock_": true
  10. }
  11. [node name="B" type="RigidBody2D" parent="."]
  12. position = Vector2( 484, 228 )
  13. [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="B"]
  14. position = Vector2( 6, 17 )
  15. polygon = PoolVector2Array( -38, 6, 28, 6, 28, -45, -40, -45 )
  16. __meta__ = {
  17. "_edit_lock_": true
  18. }
  19. [node name="C" type="RigidBody2D" parent="."]
  20. position = Vector2( 485, 296 )
  21. [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="C"]
  22. position = Vector2( 6, 17 )
  23. polygon = PoolVector2Array( -38, 6, 28, 6, 28, -45, -40, -45 )
  24. __meta__ = {
  25. "_edit_lock_": true
  26. }
  27. [node name="PinJoint2D" type="PinJoint2D" parent="."]
  28. position = Vector2( 484, 189 )
  29. node_a = NodePath("../A")
  30. node_b = NodePath("../B")
  31. bias = 0.9
  32. disable_collision = false
  33. [node name="PinJoint2D2" type="PinJoint2D" parent="."]
  34. position = Vector2( 486, 257 )
  35. node_a = NodePath("../B")
  36. node_b = NodePath("../C")
  37. bias = 0.9
  38. disable_collision = false
  39. [node name="Ground" type="StaticBody2D" parent="."]
  40. position = Vector2( 489, 478 )
  41. [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Ground"]
  42. polygon = PoolVector2Array( -116, -4, 128, -100, 204, 34, -156, 48 )