cirnogodot/3D/Scenes/Props/barrel_3d.tscn

27 lines
1.1 KiB
Text

[gd_scene format=3 uid="uid://c2enjjxlfb5or"]
[ext_resource type="Texture2D" uid="uid://du8xcvbnf30o2" path="res://ExternalMaterial/Barrel/Barrels.png" id="1_2libs"]
[ext_resource type="Script" uid="uid://ccxnvbthsvka3" path="res://Scripts/Actors/Destructible3D.cs" id="1_gafco"]
[ext_resource type="Resource" uid="uid://bpreje4f8ok62" path="res://Resources/Bullets/3D/Explosion_3D.tres" id="2_g54tg"]
[sub_resource type="CylinderShape3D" id="CylinderShape3D_2libs"]
height = 0.564575
radius = 0.321777
[node name="StaticBody3D" type="StaticBody3D" unique_id=1481124290 groups=["Destroyable"]]
collision_layer = 16
collision_mask = 0
script = ExtResource("1_gafco")
Health = 0.6
ExplosionData = ExtResource("2_g54tg")
[node name="Barrel" type="Sprite3D" parent="." unique_id=1883029792]
transform = Transform3D(0.707107, -0.5, 0.5, 0, 0.707107, 0.707107, -0.707107, -0.5, 0.5, 0, 0, 0)
pixel_size = 0.05
texture_filter = 0
texture = ExtResource("1_2libs")
hframes = 4
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=287417792]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.0376587, 0)
shape = SubResource("CylinderShape3D_2libs")