Fixed test platform rotation. Added standing check area to the platform
This commit is contained in:
@@ -493,6 +493,9 @@ animations = [{
|
||||
resource_local_to_scene = true
|
||||
size = Vector2(16, 7)
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_bhunq"]
|
||||
size = Vector2(12, 1)
|
||||
|
||||
[node name="AbstractPlatform" type="AnimatableBody2D" unique_id=137546339]
|
||||
collision_mask = 0
|
||||
script = ExtResource("1_426vp")
|
||||
@@ -532,3 +535,10 @@ sprite_frames = SubResource("SpriteFrames_j4n83")
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=175449124]
|
||||
position = Vector2(0, -0.5)
|
||||
shape = SubResource("RectangleShape2D_jsq8n")
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="." unique_id=1655744842]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D" unique_id=1261028767]
|
||||
position = Vector2(0, -4.5)
|
||||
shape = SubResource("RectangleShape2D_bhunq")
|
||||
debug_color = Color(0.9020316, 0.24375501, 0.4918024, 0.41960785)
|
||||
|
||||
Reference in New Issue
Block a user