[gd_scene load_steps=3 format=3 uid="uid://buy8yafwaicq8"] [ext_resource type="Script" uid="uid://b8a23hkmesx0l" path="res://script/asteroid.gd" id="1_e451a"] [ext_resource type="Texture2D" uid="uid://dt08ism4ulfay" path="res://assets/asteroidx3.png" id="2_beklf"] [node name="asteroid" type="RigidBody2D"] collision_layer = 3 collision_mask = 3 mass = 20.0 contact_monitor = true max_contacts_reported = 4 script = ExtResource("1_e451a") [node name="Asteroid" type="Sprite2D" parent="."] texture = ExtResource("2_beklf") [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."] polygon = PackedVector2Array(23, 10, 36, -11, 22, -32, 8, -43, -32, -40, -40, -25, -43, 1, -40, 23, -24, 41, 3, 43, 38, 19) [connection signal="body_entered" from="." to="." method="_on_body_entered"] [connection signal="body_exited" from="." to="." method="_on_body_exited"]