one_way_platform.tscn 656 B

12345678910111213141516171819202122232425262728293031
  1. [gd_scene load_steps=3 format=2]
  2. [ext_resource path="res://one_way_platform.png" type="Texture" id=1]
  3. [sub_resource type="RectangleShape2D" id=1]
  4. custom_solver_bias = 0.0
  5. extents = Vector2( 100, 10 )
  6. [node name="one_way_platform" type="StaticBody2D"]
  7. input_pickable = false
  8. collision_layer = 1
  9. collision_mask = 1
  10. constant_linear_velocity = Vector2( 0, 0 )
  11. constant_angular_velocity = 0.0
  12. friction = 1.0
  13. bounce = 0.0
  14. [node name="sprite" type="Sprite" parent="."]
  15. texture = ExtResource( 1 )
  16. [node name="CollisionShape2D" type="CollisionShape2D" parent="."]
  17. position = Vector2( 1.46304, -13.1672 )
  18. shape = SubResource( 1 )
  19. one_way_collision = true