Search found 1 match

by emalb
Tue Jul 12, 2016 1:24 pm
Forum: Support and Development
Topic: Trouble With Math.
Replies: 2
Views: 1873

Re: Trouble With Math.

What I tend to do is track the distance to my destination. So when you click, calculate the distance and store it. With each update, calculate your current distance to the destination. If it's got bigger than it was on the last update then you've either reached or overshot your destination, so set y...