如何在unity VR中检测传送到特定区域

How to detect teleportation to a particular area in unity VR

我需要在传送到特定区域时调用一个函数。我如何使用 VRTK 和 unity 实现此目的。

VRTK_HeadsetCollision

Script Usage: Place the VRTK_HeadsetCollision script on any active scene GameObject.

除此之外,它几乎是一个普通的 trigger collider 工作流程