[gd_scene load_steps=5 format=2] [ext_resource path="res://graphics/particles/bullet_casing.png" type="Texture" id=1] [ext_resource path="res://objects/enemy/bullet_casing.gd" type="Script" id=2] [sub_resource type="PhysicsMaterial" id=4] bounce = 0.5 [sub_resource type="RectangleShape2D" id=3] extents = Vector2( 1, 1.5 ) [node name="BoneParticle" type="RigidBody2D"] collision_layer = 17 physics_material_override = SubResource( 4 ) contacts_reported = 1 contact_monitor = true script = ExtResource( 2 ) [node name="Sprite" type="Sprite" parent="."] texture = ExtResource( 1 ) [node name="CollisionShape2D" type="CollisionShape2D" parent="."] position = Vector2( 0, 0.5 ) shape = SubResource( 3 ) __meta__ = { "_edit_group_": true } [connection signal="body_entered" from="." to="." method="_on_BoneParticle_body_entered"] [connection signal="body_shape_entered" from="." to="." method="_on_BoneParticle_body_shape_entered"]