forked from team-sg/hero-mark-2
fixed collision on turtle
This commit is contained in:
parent
df5a1b07e1
commit
146c388d71
1 changed files with 5 additions and 5 deletions
|
@ -46,10 +46,10 @@ tracks/0/keys = {
|
|||
extents = Vector2( 2.5, 2.5 )
|
||||
|
||||
[sub_resource type="RectangleShape2D" id=5]
|
||||
extents = Vector2( 6, 1.5 )
|
||||
extents = Vector2( 8, 1.5 )
|
||||
|
||||
[sub_resource type="RectangleShape2D" id=7]
|
||||
extents = Vector2( 12, 3 )
|
||||
extents = Vector2( 8.5, 3 )
|
||||
|
||||
[node name="Turtle" type="Node2D" groups=["enemy"]]
|
||||
script = ExtResource( 2 )
|
||||
|
@ -93,10 +93,10 @@ unique_name_in_owner = true
|
|||
position = Vector2( 8.5, -1.5 )
|
||||
shape = SubResource( 5 )
|
||||
|
||||
[node name="Platform" type="KinematicBody2D" parent="."]
|
||||
[node name="Platform" type="KinematicBody2D" parent="SpikeHitbox"]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Platform"]
|
||||
position = Vector2( 11, 3 )
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="SpikeHitbox/Platform"]
|
||||
position = Vector2( 8.5, 3 )
|
||||
shape = SubResource( 7 )
|
||||
|
||||
[connection signal="area_entered" from="SpikeHitbox" to="." method="_on_Hitbox_area_entered"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue