Maybe you could merge both methods, add some invisible barrier that, when touched, it will do the distance check once.
Just throwing ideas I get in the moment, there are various other methods that I dont have knowledge of.
Maybe you could merge both methods, add some invisible barrier that, when touched, it will do the distance check once.
Just throwing ideas I get in the moment, there are various other methods that I dont have knowledge of.