add spawn menu for props
This commit is contained in:
parent
6e783e0e57
commit
b9d16360b9
9 changed files with 231 additions and 62 deletions
|
|
@ -35,10 +35,18 @@ spot_range = 1000.0
|
|||
spot_angle = 30.0
|
||||
spot_angle_attenuation = 0.25
|
||||
|
||||
[node name="Interact" type="RayCast3D" parent="Camera"]
|
||||
[node name="InteractRay" type="RayCast3D" parent="Camera"]
|
||||
target_position = Vector3(0, 0, -2.5)
|
||||
hit_back_faces = false
|
||||
|
||||
[node name="SpawnPosition" type="Node3D" parent="Camera"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -1.5)
|
||||
|
||||
[node name="PropPusher" type="Node" parent="." node_paths=PackedStringArray("controller")]
|
||||
script = ExtResource("8_7v0xc")
|
||||
controller = NodePath("..")
|
||||
enabled = true
|
||||
|
||||
[node name="DebugMenu" parent="." instance=ExtResource("3_ejydr")]
|
||||
visible = false
|
||||
mouse_filter = 2
|
||||
|
|
@ -60,8 +68,3 @@ volume_db = -5.0
|
|||
[node name="FlashlightOffSFX" type="AudioStreamPlayer" parent="."]
|
||||
stream = ExtResource("7_7v0xc")
|
||||
volume_db = -5.0
|
||||
|
||||
[node name="PropPusher" type="Node" parent="." node_paths=PackedStringArray("controller")]
|
||||
script = ExtResource("8_7v0xc")
|
||||
controller = NodePath("..")
|
||||
enabled = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue