Portal & Teleport Mechanic Idea
- Janice
- Mar 14, 2024
- 1 min read
Mechanic Diagram:

Flow Diagrams:

Start from interaction with the portal.
If the player triggers the game object update location and process transform.
Coroutine starts after a few sec before the next teleport.
(Diagram tool : draw.io)
Class Diagrams:

Teleport script location to a game object.
The player script will need a coroutine to wait for the next teleport time.
Set a bool value to mark whether does player has recent teleport or not. (Diagram tool : Mermaid Diagramming)
Commentaires