Navigation modes
Last updated
Last updated
To enable the user to navigate inside your scene you first need the camera to be converted into an Interactive Rig (see previous step). Select the InteractionRIg(IO) and in the Inspector check the navigation option then choose the system you want. We currently offer two navigation systems: the Teleportation system and the Joystick free navigation.
User moves forward, backward, left and right by simply pushing the joystick in the same directions. You can choose the speed of navigation:
Teleportation allows the user to select a nearby spot and be ported there as if they had jumped in no time.
By default, the Teleport button is the joystick of the controller. Users first need to press and hold ‘up’ while aiming at the floor for the teleport beam to show up. When teleporting is possible, a circular target appears on the surface at the end of the beam. With the thumb, users can now turn the joystick (or the trackpad) to orientate the target position they will appear. Finally release to teleport to that spot.
Teleport has several settings that you can change at will.
Controller for teleporting: choose between Left/Right or Both controllers.
Teleport Distance : maximum distance (meters) the beam reaches around the user.
Teleport Height: maximum height (meters) for the beam.
Orient on Teleport: allow the user to choose the orientation when they are going to teleport to a spot.
Hold Duration: time (seconds) the user needs to hold the Joystick/trackpad for the beam to appear.
Input Sensitivity: threshold for detecting user’s input on the Joystick/trackpad to launch a teleporting.
Pause Time: time (seconds) to wait between each teleporting movement.
Teleport Target: visual at the end of the beam when a teleport surface is reached. Note: we recommend not to change this.
Allowed/Not Allowed Destination: color for the beam depending on the surface that is being aimed. Note: only surfaces (colliders) that are under the ‘Teleport’ Layer are considered allowed destinations.
Line Width: width in meters of the beam.
Line Material: material for the beam. Note: we recommend not to change this.
For teleporting to a surface you need the mesh to be placed under the ‘Teleport’ Layer from Unity and make sure there is a collider of the shape of your surface.
Zoe provides a Floor prefab that you can directly add to your scene from the Zoe top bar menu.
For both the Teleportation and the Joystick systems there is an option to rotate the camera as well with the controller.
Set it with the following options:
Left/Right/Both joystick(s): controller to be used for the rotation; make sure you choose an option that matches with the one for movement.
Angle: the angle (degrees) the camera is rotated at every input.
If you don't have a headset or simply want to test/debug without it simply add the 'FPS Camera Controller' component to the Interaction Rig. Use WASD and mouse to interact.