Teleport finished notification

Is there a way to get notified when teleportation has finished? I tried to use colliders to check if the XRrig has moved to a certain position, but that doesn’t seem to work. I guess because both teleport and moving with the thumbstick use transform. position and for collision detection you need rigidbody.transform.position

But is there something like for example an OnTeleportFinished event that I can listen for?

The docs don’t list an OnTeleportFinished event. The XRRig isn’t a rigidbody, so colliders won’t detect movement – you’re right that transform.position is used.

A workaround: in a custom component, listen for XRRig.activeRigChanged or check the rig’s position after each frame where teleport input was used. Since XRControllerMovement handles teleport, you could subscribe to XRController.teleportPerformed if that’s exposed (not shown in these docs). Alternatively, poll rig.position and compare to a stored previous value – if it changed more than a threshold, treat it as a teleport finish.

If you can share a minimal repro (Needle-engine - Vite Template (duplicated) - StackBlitz) or a deployed URL, we can give a more specific fix.

1 replies left - Become PRO for more replies.
Reply to this post directly if you need further help (bottom right button)