mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-18 12:23:46 +00:00
Destructible triggers
This commit is contained in:
parent
f013987bab
commit
7aee230b3c
56 changed files with 1457 additions and 1106 deletions
|
|
@ -1,6 +1,8 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://bkwuuk6ctadu0"]
|
||||
[gd_scene load_steps=5 format=3 uid="uid://bkwuuk6ctadu0"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://dia5jpbq0ipcp" path="res://3D/BlockbenchModels/Capacitor_Mini/Capacitor_Mini.gltf" id="1_dkwt8"]
|
||||
[ext_resource type="Script" uid="uid://ccxnvbthsvka3" path="res://Scripts/Actors/Destructible3D.cs" id="1_lyqcr"]
|
||||
[ext_resource type="Resource" uid="uid://bpreje4f8ok62" path="res://Resources/Bullets/3D/Explosion_3D.tres" id="2_kvl8b"]
|
||||
|
||||
[sub_resource type="CylinderShape3D" id="CylinderShape3D_dkwt8"]
|
||||
height = 0.882874
|
||||
|
|
@ -8,6 +10,10 @@ height = 0.882874
|
|||
[node name="CapacitorMini" type="StaticBody3D"]
|
||||
collision_layer = 16
|
||||
collision_mask = 0
|
||||
script = ExtResource("1_lyqcr")
|
||||
Health = 5.0
|
||||
ExplosionData = ExtResource("2_kvl8b")
|
||||
DamageResistances = []
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00549316, -0.0550391, -0.000488281)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue