mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 09:35:34 +00:00
39 lines
1.5 KiB
Text
39 lines
1.5 KiB
Text
[gd_scene load_steps=5 format=3 uid="uid://dmwtysh7eijon"]
|
|
|
|
[ext_resource type="Script" uid="uid://46bleylruayt" path="res://Scripts/Actors/3D/Chair3D.cs" id="1_lak88"]
|
|
[ext_resource type="SpriteFrames" uid="uid://sg77hbw6lo6r" path="res://Resources/Sprites/Chair.tres" id="5_265cv"]
|
|
|
|
[sub_resource type="CylinderShape3D" id="CylinderShape3D_2libs"]
|
|
height = 0.564575
|
|
radius = 0.321777
|
|
|
|
[sub_resource type="CylinderShape3D" id="CylinderShape3D_q4vm8"]
|
|
height = 0.5595703
|
|
radius = 0.3227539
|
|
|
|
[node name="StaticBody3D" type="StaticBody3D" groups=["Destroyable"]]
|
|
collision_layer = 16
|
|
collision_mask = 0
|
|
script = ExtResource("1_lak88")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.0376587, 0)
|
|
shape = SubResource("CylinderShape3D_2libs")
|
|
|
|
[node name="AnimatedSprite3D" type="AnimatedSprite3D" parent="."]
|
|
transform = Transform3D(0.70710677, -0.49999997, 0.49999997, 0, 0.70710677, 0.70710677, -0.70710677, -0.49999997, 0.49999997, 0, 0, 0)
|
|
pixel_size = 0.05
|
|
texture_filter = 0
|
|
sprite_frames = ExtResource("5_265cv")
|
|
animation = &"Down"
|
|
autoplay = "Down"
|
|
|
|
[node name="Area3D" type="Area3D" parent="."]
|
|
collision_layer = 0
|
|
collision_mask = 136
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.029785156, 0)
|
|
shape = SubResource("CylinderShape3D_q4vm8")
|
|
|
|
[connection signal="area_entered" from="Area3D" to="." method="OnBulletCollision"]
|