XR Rig配置
1、添加【Teleportation Provider】组件
2、添加【Locomotion System】组件
3、将【Locomotion System】组件赋值给【Teleportation Provider】组件的System属性
4、将【XR Rig】组件赋值给【Locomotion System】组件的XR Rig属性

Plane配置
1、添加一个Plane,之后为其添加【Teleportation Anchor】组件
2、将XR Rig赋值给地面的【Teleportation Anchor】组件的Teleportation Provoder属性

锚点传送已经设置好了,可以在VR上预览一下。不过传送的位置,始终会在Plane的中心位置。
修改锚点位置
1、在Plane下添加一个空物体
2、将空物体赋值给Plane的【Teleportation Anchor】组件的Teleport Anchor Tranform属性

3、修改空物体的Positoin
网友评论