mtd/Scenes/corpse.tscn

26 lines
849 B
Plaintext

[gd_scene load_steps=4 format=3 uid="uid://canrxnpxcugc2"]
[ext_resource type="Script" path="res://corpse.gd" id="1_hdqtp"]
[ext_resource type="Texture2D" uid="uid://cdnhe2mi5c5ln" path="res://Assets/Textures/dead_eye_dog.png" id="2_6ext7"]
[sub_resource type="SphereShape3D" id="SphereShape3D_shai7"]
radius = 0.200919
[node name="Node3D" type="RigidBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0)
collision_layer = 0
max_contacts_reported = 1
contact_monitor = true
script = ExtResource("1_hdqtp")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
shape = SubResource("SphereShape3D_shai7")
[node name="Sprite3D" type="Sprite3D" parent="."]
pixel_size = 0.04
billboard = 1
texture_filter = 0
texture = ExtResource("2_6ext7")
[connection signal="body_entered" from="." to="." method="_on_body_entered"]