make arrows collide with dynamic objects (closes #61)
This commit is contained in:
parent
83a06510e5
commit
0c9528c7c1
4 changed files with 4 additions and 3 deletions
|
@ -9,7 +9,7 @@ shader = ExtResource( 2 )
|
|||
shader_param/border_color = Color( 0, 0, 0, 1 )
|
||||
shader_param/border_corners = true
|
||||
|
||||
[node name="Rock" instance=ExtResource( 1 )]
|
||||
[node name="Crate" instance=ExtResource( 1 )]
|
||||
|
||||
[node name="Sprite" parent="." index="0"]
|
||||
material = SubResource( 1 )
|
||||
|
|
|
@ -15,7 +15,7 @@ extents = Vector2( 3.7, 4 )
|
|||
[sub_resource type="RectangleShape2D" id=3]
|
||||
extents = Vector2( 4, 4 )
|
||||
|
||||
[node name="Rock" type="KinematicBody2D" groups=["pushable"]]
|
||||
[node name="Rock" type="KinematicBody2D" groups=["pushable", "stop_arrow"]]
|
||||
collision_layer = 4
|
||||
script = ExtResource( 3 )
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue