Answers for "Slider representing player's movement" The latest answers for the question "Slider representing player's movement" Answer by VesuvianPrime Given pointA, pointB and pointPlayer you could do something like: float aToPlayerMag = (pointA - pointPlayer).magnitude; float bToPlayerMag = (pointB - pointPlayer).magnitude; float total = aToPlayerMag + bToPlayerMag; float delta = aToPlayerMag / total; // A value between 0-1 You could then plug the delta into a UI scroll bar to represent player progress. Fri, 21 Aug 2015 20:13:10 GMT VesuvianPrime