Morning-Murder/Scenes/Entities/pillow.tscn

30 lines
906 B
Plaintext
Raw Permalink Normal View History

2023-09-14 10:29:52 +03:00
[gd_scene load_steps=4 format=3 uid="uid://bv0rugppux84g"]
[ext_resource type="Texture2D" uid="uid://d0ni8qvcxpti0" path="res://Assets/Sprites/Pillow.png" id="2_4eq0m"]
[ext_resource type="Script" path="res://Scripts/Pillow.cs" id="2_404kc"]
[sub_resource type="CircleShape2D" id="CircleShape2D_mvy54"]
radius = 13.1476
[node name="Pillow" type="Node2D"]
texture_filter = 1
[node name="RigidBody2D" type="RigidBody2D" parent="."]
gravity_scale = 0.0
continuous_cd = 2
max_contacts_reported = 11
contact_monitor = true
can_sleep = false
angular_damp = -1.0
script = ExtResource("2_404kc")
angularSpeed = 5.0
velocity = Vector2(250, 0)
[node name="CollisionShape2D" type="CollisionShape2D" parent="RigidBody2D"]
scale = Vector2(6.52, 6.52)
shape = SubResource("CircleShape2D_mvy54")
[node name="Pillow" type="Sprite2D" parent="RigidBody2D"]
scale = Vector2(6.04, 6.04)
texture = ExtResource("2_4eq0m")