-
-
Save Argentinier/4d87df6210466de628989b7040a3774c to your computer and use it in GitHub Desktop.
Distance between two points
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local lastGroundedPosition = (here a Vector3) | |
local currentPosition = (here a Vector3) | |
local diference = currentPosition - lastGroundedLocation | |
local distance = diference.size |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment