How to detect proximity?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By sketxz
:warning: Old Version Published before Godot 3 was released.

I need to check if the player is close enough to an element in 3D. Should I use a ProximityGroup? Which method will return a boolean?

:bust_in_silhouette: Reply From: KRL

The easies method i know is to create a collision triger in shape of sphere and check if he colides with your 3d object

The second but not very precise is to calculate difference beetwen two object transform parameters