added working vending machine

This commit is contained in:
derek
2024-07-17 17:05:46 -05:00
parent 9a15224df9
commit 4511023fcc
12 changed files with 240 additions and 37 deletions

View File

@@ -83,7 +83,7 @@ padding_amount = 0.025
[node name="GunRay" type="RayCast3D" parent="Head/Camera3D" groups=["gun_ray"]]
transform = Transform3D(0.977933, 0, -0.208919, 0, 1, 7.45058e-09, 0.208919, 0, 0.977933, 0, -0.197421, -0.129669)
target_position = Vector3(0, 0, -1.5)
target_position = Vector3(0, 0, -1)
[node name="AudioListener3D" type="AudioListener3D" parent="Head/Camera3D"]
transform = Transform3D(1, 0, 0, 0, 0.992332, 0.123601, 0, -0.123601, 0.992332, 0, -0.921646, -0.000722691)
@@ -107,6 +107,13 @@ target_position = Vector3(0, 0, -200)
collision_mask = 7
collide_with_areas = true
[node name="InteractRay" type="RayCast3D" parent="Head/Camera3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.0521634, -0.764677)
target_position = Vector3(0, 0, -3)
collision_mask = 8
hit_from_inside = true
collide_with_areas = true
[node name="pick_up_detection" type="Area3D" parent="."]
collision_layer = 0
collision_mask = 4