Files
godot-demo-projects/2d/physics_platformer/platform/OneWayPlatform.tscn

17 lines
466 B
Plaintext

[gd_scene load_steps=3 format=2]
[ext_resource path="res://platform/one_way_platform.png" type="Texture2D" id=1]
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2(50, 5)
[node name="OneWayPlatform" type="StaticBody2D"]
[node name="Sprite2D" type="Sprite2D" parent="."]
texture = ExtResource( 1 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(0.73152, -6.5836)
shape = SubResource( 1 )
one_way_collision = true