mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-22 19:43:55 +00:00
Triggerable movable walls
This commit is contained in:
parent
f3edc2b433
commit
9d0036c436
20 changed files with 1292 additions and 693 deletions
|
|
@ -4,18 +4,19 @@
|
|||
[ext_resource type="PackedScene" uid="uid://sy821kigcoqx" path="res://3D/BlockbenchModels/FloorEmitter/Floor_Emitter.gltf" id="3_ro7iq"]
|
||||
[ext_resource type="Script" uid="uid://bf5f2phitdqw8" path="res://Scripts/Actors/BulletSpawner3D.cs" id="4_0cjnq"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_hsg1w"]
|
||||
size = Vector3(0.763428, 0.469452, 0.77832)
|
||||
[sub_resource type="CylinderShape3D" id="CylinderShape3D_ro7iq"]
|
||||
height = 0.297607
|
||||
radius = 0.277344
|
||||
|
||||
[node name="FloorEmitter" type="StaticBody3D"]
|
||||
collision_layer = 16
|
||||
collision_layer = 64
|
||||
collision_mask = 0
|
||||
script = ExtResource("1_dtfaj")
|
||||
EmitOnStart = true
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00549316, 0.0253752, -0.000488281)
|
||||
shape = SubResource("BoxShape3D_hsg1w")
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00549316, 0.116073, -0.000488281)
|
||||
shape = SubResource("CylinderShape3D_ro7iq")
|
||||
|
||||
[node name="blockbench_export" parent="." instance=ExtResource("3_ro7iq")]
|
||||
|
||||
|
|
|
|||
25
3D/Scenes/Props/Wall_Emitter_3D.tscn
Normal file
25
3D/Scenes/Props/Wall_Emitter_3D.tscn
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
[gd_scene load_steps=5 format=3 uid="uid://yath5bvxo3cn"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dpibtd73awwp7" path="res://Scripts/Actors/ScriptableBulletsEmitter3D.cs" id="1_3n1ol"]
|
||||
[ext_resource type="PackedScene" uid="uid://lwpt32xplrjw" path="res://3D/BlockbenchModels/WallEmitter/Wall_Emitter.gltf" id="3_3n1ol"]
|
||||
[ext_resource type="Script" uid="uid://bf5f2phitdqw8" path="res://Scripts/Actors/BulletSpawner3D.cs" id="3_g6b3n"]
|
||||
|
||||
[sub_resource type="CylinderShape3D" id="CylinderShape3D_ro7iq"]
|
||||
height = 0.297607
|
||||
radius = 0.277344
|
||||
|
||||
[node name="WallEmitter" type="StaticBody3D"]
|
||||
collision_layer = 64
|
||||
collision_mask = 0
|
||||
script = ExtResource("1_3n1ol")
|
||||
EmitOnStart = true
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00549316, 0.116073, -0.000488281)
|
||||
shape = SubResource("CylinderShape3D_ro7iq")
|
||||
|
||||
[node name="BulletSpawner3D" type="Node3D" parent="."]
|
||||
script = ExtResource("3_g6b3n")
|
||||
|
||||
[node name="blockbench_export" parent="." instance=ExtResource("3_3n1ol")]
|
||||
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 0, 0, 0)
|
||||
Loading…
Add table
Add a link
Reference in a new issue