[gd_scene load_steps=3 format=3 uid="uid://d2jxc24g18ab1"] [ext_resource type="Script" uid="uid://b8a23hkmesx0l" path="res://script/asteroid.gd" id="1_ka8bu"] [ext_resource type="Texture2D" uid="uid://bby053xsfn3cp" path="res://assets/asteroidx2.png" id="2_e2m2r"] [node name="asteroid" type="RigidBody2D"] collision_layer = 3 collision_mask = 3 mass = 10.0 contact_monitor = true max_contacts_reported = 4 script = ExtResource("1_ka8bu") [node name="Asteroid" type="Sprite2D" parent="."] texture = ExtResource("2_e2m2r") [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."] polygon = PackedVector2Array(16, -23, 3, -29, -11, -27, -22, -12, -27, 2, -25, 21, -6, 30, 17, 23, 23, 10, 29, 1, 20, -8) [connection signal="body_entered" from="." to="." method="_on_body_entered"]