Fixed Pickup behaviour
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
|
||||
[sub_resource type="SphereShape3D" id="SphereShape3D_i8sim"]
|
||||
resource_local_to_scene = true
|
||||
radius = 2.0
|
||||
|
||||
[node name="InteractionArea" type="Node3D" node_paths=PackedStringArray("_area", "_label")]
|
||||
script = ExtResource("1_b15wn")
|
||||
@@ -23,9 +24,11 @@ pixel_size = 0.01
|
||||
billboard = 1
|
||||
no_depth_test = true
|
||||
fixed_size = true
|
||||
render_priority = 100
|
||||
outline_render_priority = 99
|
||||
text = "[E]"
|
||||
font_size = 60
|
||||
outline_size = 10
|
||||
font_size = 20
|
||||
outline_size = 8
|
||||
|
||||
[connection signal="body_entered" from="Area3D" to="." method="OnPlayerEntered"]
|
||||
[connection signal="body_exited" from="Area3D" to="." method="OnPlayerExited"]
|
||||
|
||||
Reference in New Issue
Block a user