mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-21 05:43:48 +00:00
3D Switches
This commit is contained in:
parent
003dde1b7f
commit
cb60226ced
20 changed files with 267 additions and 14 deletions
29
3D/Scenes/Props/control_pad_3d.tscn
Normal file
29
3D/Scenes/Props/control_pad_3d.tscn
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
[gd_scene load_steps=5 format=3 uid="uid://du6hlcoq0iip4"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://qxh76ahgexqa" path="res://Scripts/Interactables/Switch3D.cs" id="1_papkq"]
|
||||
[ext_resource type="Texture2D" uid="uid://d24g1qb40t72l" path="res://Sprites/Button_Small.png" id="2_ldivl"]
|
||||
[ext_resource type="AudioStream" uid="uid://bjvklk7qmlivd" path="res://SFX/288963__littlerobotsoundfactory__click_electronic_14.wav" id="3_ldivl"]
|
||||
|
||||
[sub_resource type="SphereShape3D" id="SphereShape3D_itd0i"]
|
||||
radius = 0.868968
|
||||
|
||||
[node name="ControlPad" type="Area3D" groups=["Interactable"]]
|
||||
transform = Transform3D(0.701743, 0, 0.71243, 0, 1, 0, -0.71243, 0, 0.701743, 0, 0, 0)
|
||||
collision_layer = 32
|
||||
collision_mask = 0
|
||||
script = ExtResource("1_papkq")
|
||||
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)
|
||||
pixel_size = 0.1
|
||||
texture_filter = 0
|
||||
texture = ExtResource("2_ldivl")
|
||||
hframes = 4
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
shape = SubResource("SphereShape3D_itd0i")
|
||||
|
||||
[node name="ActivationSound" type="AudioStreamPlayer3D" parent="."]
|
||||
stream = ExtResource("3_ldivl")
|
||||
bus = &"Effects"
|
||||
Loading…
Add table
Add a link
Reference in a new issue