I want to move my player on the flat ground but when I reach a certain position, I want to know the amount of area the player has covered on the ground.
I want to move my player on the flat ground but when I reach a certain position, I want to know the amount of area the player has covered on the ground.
Try Vector3.Distance() - calculates the distance between 2 points (I assume you are looking for that since there is not enough information provided to calculate an area)