Morphe swot analysis  FGooey effect codepen
Oni ps2 iso

So the problem you're having is that the character continues to move. It's moving because it either has velocity, or input commands changing the position. For input commands it's easy to just have a bool set for the duration of the freeze that tells the controller not to accept input.

Jul 18, 2017 · As per the code below, if the teleport is set to true, we get the array of all the points in the teleportPoints variable, and we randomly pick one of these points for the player to teleport. var newPosition = teleportPoints[Random.Range(0, teleportPoints.Length)]; Finally, we set the player’s transform position to the new position.