renamed stuff to be more understandable. Using a NodePath so that I can reuse previously determined distances