fix (i think....) the silly one-way platform issueeee

This commit is contained in:
Haze Weathers 2023-03-08 19:26:09 -05:00
parent 57b341f515
commit 7606485692
5 changed files with 15 additions and 14 deletions

View file

@ -3,8 +3,9 @@
[ext_resource path="res://graphics/moving_platform/moving_platform.png" type="Texture" id=1]
[ext_resource path="res://objects/environment/moving_platform/moving_platform.gd" type="Script" id=2]
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 4, 2 )
[sub_resource type="SegmentShape2D" id=1]
a = Vector2( -4, -2 )
b = Vector2( 4, -2 )
[node name="MovingPlatform" type="KinematicBody2D"]
collision_layer = 4