Now that the code for line tracing and interaction has been implemented, we can turn our attention to the teleport system itself. The goal of using teleportation in Server 17 is to give our player an intuitive method of moving around our environment. Though teleportation is often seen as immersion breaking, I feel that the cyberspace environment in our game supports the idea of the player character being able to teleport around the space. To get started, let's first think about the parts of a VR teleport system:
- Visuals: Players need to be able to visualize where they'll be moving to when they click the button. This can be done by projecting a line or an arc to where they'll land (we've done this through the debug ...