Teleportation in unity

Hello,
I have a question, why the teleportation ray length is unlimited, can anyone tell me what is the problem?


https://drive.google.com/file/d/1eHzCxEOeaP86QOPSaYtB-E2oYOo4Zc_D/view?usp=sharing

It’s hard to tell which system you are using for teleportation from this screenshot. But in Unity’s XR Interaction Toolkit the XR Ray Interactor component has a Max Raycast Distance variable that can be used to limit the reach of a user when selecting or teleporting.

Unity_Wo8wRHBFbB

yes I’m using XR interaction toolkit
thanks I’ll try that.