Adding a teleporter for movement in VR in Unity
Tutorials in Unity to create teleporters for movement
In the hierarchy panel (similar to outliner in Maya) select the Teleporter base 'GameObject' to expand the view of its child GameObjects. Make sure that TeleporterBase is still selected > inspector panel on the right>search teleport anchor>interactable events - find On First Hover Enter list > Add button >drag TeleporterBeam child GameObject from the hierarchy to the None (Object) field in the 'On First Hover Enter list entry>function field>TeleporterAnim>StartHighlight (custom script which provides a fade-in and fade-out effect). Repeat TransporterBeam > On Last Hover Exit>drag to none>TeleporterAnim>StopHighlight. (see red rectangles)
Comments
Post a Comment