You should only be getting the location at the start, not for every tick it moves. Store it to a variable at the start and then use that variable instead.
You should only be getting the location at the start, not for every tick it moves. Store it to a variable at the start and then use that variable instead.