Hi all,
I’m wanting to create a small game where the player can interact with Stargates, like those in the movie or the TV shows, and I was wandering about how people would go about the dialing/searching for a gate to travel to, and how to transport the player. Each Gate will be named with a unique name in the inspector.
To Dial:
To dial or search for a gate, I’m thinking of having a text input field and/or a list in which the player enters an alphanumerical name to search for, and if the gate has been found, then it enters the ‘dial’ animation and then goes into a state where the player can teleport once they walk through the gate. If the name is not found, then the gate does not dial and plays a distinct sound to tell the player that it fail.
To Transport the Player:
To transport the player, I know the ideal way to do this would to use OnTriggerEnter and have a collider set over the inner ring of the gate, but I would like to have it set up so that the player is transported only when the entire object has passed the point? I’m wandering if there is any way to do this or whether I’d have to stay with the OnTriggerEnter approach?
Any thoughts would be appreciated. ![]()