OctoXR
  • OctoXR
  • Setup
  • INPUT
    • Input
      • Hand Skeleton Configuration
      • Hand Skeleton Pose Provider
      • Input Data Provider
      • Hand Input Data Provider
      • Unity XR Controller Input Data Provider
      • Multi Source Input Data Provider
      • Input Confidence Trigger
      • Hand Skeleton
      • Hand Bone
  • PLATFORMS
    • OpenXR
      • Input
        • XR Hand Input Data Provider
  • Hand Pose Detection
    • How To Use
    • Scripting
      • HandPose
      • IHandPoseComponent
        • HandPoseShape
        • HandPoseOrientation
      • HandShapeCreator
      • HandPoseHandRef
  • User Interface
    • How To Use
    • Scripting
      • UIPointer
  • Locomotion
    • How To Use
    • Scripting
      • LocomotionSystem
      • TeleportRayInteractor
      • Teleport
        • HandTeleport
          • PinchTeleport
          • GestureTeleport
        • ControllerTeleport
      • ContinuousLocomotion
        • HandContinuousLocomotion
        • ControllerContinuousLocomotion
      • TeleportDestination
        • TeleportArea
        • TeleportAnchor
  • Interactions
    • Overview
    • Interactor
    • Interactable
    • Interaction Controller
    • Interaction trackers and indicators
  • Physics
    • How To Use
      • Physics Hand Skeleton
      • Physics Hand Bone
    • Scripting
      • PhysicsHandSkeleton
      • PhysicsHandBone
      • TriggerTracker
      • HandTriggerSkeleton
      • HandTriggerBone
  • General
    • ScreenFader
    • RayVisuals
Powered by GitBook
On this page
  • Protected fields
  • Protected methods
  1. Locomotion
  2. Scripting

Teleport

  • Abstract class

Protected fields

LocomotionSystem locomotionSystem

HandSkeleton handSkeleton

RayVisuals rayVisuals

GameObject teleportReticle

float inputConfidenceThreshold

float maxTeleportRayDistance

LayerMask ignoreLayers

UnityEvent onTeleported

TeleportDestination teleportDestination

TeleportRayInteractor teleportRayInteractor

Transform handPalm

Transform indexFingerTip

Transform teleportReticleTransform

Transform teleportRayStart

bool isTeleportAllowed

Protected methods

virtual void CheckForTeleportDestination()

  • Override it and add your logic to finding teleport destinations

void TeleportPlayer()

  • Teleports player to TeleportDestination location

void ResetTeleportVariables()

void ActivateTeleportReticle()

PreviousTeleportRayInteractorNextHandTeleport

Last updated 2 years ago