So I want to make character teleport forward each time I press ‘T’ button.
Thanks but now I have another problem. Sometimes it teleports me inside other objects. How can I make character unable to teleport if distance between character and other objects is less than 1000?