mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-15 18:53:47 +00:00
Mapping and box
This commit is contained in:
parent
7ea1016253
commit
bd7f04d6fe
14 changed files with 860 additions and 510 deletions
20
3D/Scenes/Props/Box_3D_Big_Red.tscn
Normal file
20
3D/Scenes/Props/Box_3D_Big_Red.tscn
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
[gd_scene load_steps=5 format=3 uid="uid://dxxvuku3o1ls"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://ccxnvbthsvka3" path="res://Scripts/Actors/Destructible3D.cs" id="1_oxjqx"]
|
||||
[ext_resource type="Resource" uid="uid://bes254wblt1lm" path="res://Resources/Bullets/Explosion_Harmless_Small_3D.tres" id="2_lv33e"]
|
||||
[ext_resource type="PackedScene" uid="uid://cllgj3yoqvpko" path="res://3D/BlockbenchModels/Box/Box_Large_Red.gltf" id="3_oxjqx"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_hsg1w"]
|
||||
size = Vector3(2.00131, 1.52334, 2.01245)
|
||||
|
||||
[node name="BoxRed" type="StaticBody3D" groups=["Destroyable"]]
|
||||
collision_layer = 16
|
||||
collision_mask = 0
|
||||
script = ExtResource("1_oxjqx")
|
||||
ExplosionData = ExtResource("2_lv33e")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00532529, 0.759675, -0.00402835)
|
||||
shape = SubResource("BoxShape3D_hsg1w")
|
||||
|
||||
[node name="blockbench_export" parent="." instance=ExtResource("3_oxjqx")]
|
||||
Loading…
Add table
Add a link
Reference in a new issue