mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-15 13:33:46 +00:00
Door and forcefield in TB
This commit is contained in:
parent
650db8986c
commit
52756defba
18 changed files with 880 additions and 628 deletions
|
|
@ -24,4 +24,5 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00500488, 0.00234985, -0.0
|
|||
shape = SubResource("BoxShape3D_7axon")
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
||||
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 0, 0)
|
||||
mesh = SubResource("QuadMesh_hfile")
|
||||
|
|
|
|||
33
3D/Scenes/Props/Key_Pad_3D.tscn
Normal file
33
3D/Scenes/Props/Key_Pad_3D.tscn
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
[gd_scene load_steps=6 format=3 uid="uid://bd12hm40bg5mt"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://qxh76ahgexqa" path="res://Scripts/Interactables/Switch3D.cs" id="1_l7ayv"]
|
||||
[ext_resource type="Texture2D" uid="uid://d24g1qb40t72l" path="res://Sprites/Button_Small.png" id="2_d7f2j"]
|
||||
[ext_resource type="AudioStream" uid="uid://bjvklk7qmlivd" path="res://SFX/288963__littlerobotsoundfactory__click_electronic_14.wav" id="3_gv7k2"]
|
||||
[ext_resource type="PackedScene" uid="uid://qs3vxatub5lc" path="res://3D/BlockbenchModels/Keypad/Key_Pad.gltf" id="4_l7ayv"]
|
||||
|
||||
[sub_resource type="SphereShape3D" id="SphereShape3D_itd0i"]
|
||||
radius = 0.868968
|
||||
|
||||
[node name="KeyPad" type="Area3D" groups=["Interactable"]]
|
||||
collision_layer = 32
|
||||
collision_mask = 0
|
||||
script = ExtResource("1_l7ayv")
|
||||
metadata/_edit_group_ = true
|
||||
|
||||
[node name="Sprite3D" type="Sprite3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 0.707107, 0.707107, 0, -0.707107, 0.707107, 0, 0, 0)
|
||||
visible = false
|
||||
pixel_size = 0.1
|
||||
texture_filter = 0
|
||||
texture = ExtResource("2_d7f2j")
|
||||
hframes = 4
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
shape = SubResource("SphereShape3D_itd0i")
|
||||
|
||||
[node name="ActivationSound" type="AudioStreamPlayer3D" parent="."]
|
||||
visible = false
|
||||
stream = ExtResource("3_gv7k2")
|
||||
bus = &"Effects"
|
||||
|
||||
[node name="blockbench_export" parent="." instance=ExtResource("4_l7ayv")]
|
||||
Loading…
Add table
Add a link
Reference in a new issue