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.