I need it for this function:
while distancebetween < 10:
translation.z += 20 * time #time is delta
I don't want to put this into
_process, because this needs to only be executed at the end of a very specific animation, until it reaches the appropriate spot depending on where the player is.
From what I understand,
while is a loop method that will continuously execute a statement until requirements aren't met any longer to execute. So, why does this freeze my game without even, seemingly, attempting to play the statement?