turning platforms are now one way
This commit is contained in:
parent
0e32c44c46
commit
34a466ae71
1 changed files with 3 additions and 1 deletions
|
@ -116,13 +116,15 @@ region_rect = Rect2( 0, 0, 8, 8 )
|
|||
collision_layer = 4
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
|
||||
visible = false
|
||||
position = Vector2( 4, 4 )
|
||||
shape = SubResource( 1 )
|
||||
one_way_collision_margin = 0.0
|
||||
one_way_collision = true
|
||||
|
||||
[node name="DetectPlayer" type="Area2D" parent="."]
|
||||
collision_layer = 0
|
||||
collision_mask = 128
|
||||
monitoring = false
|
||||
monitorable = false
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="DetectPlayer"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue