0 votes
by (220 points)

使用的PicoVR Unity SDK,设备是Pico Neo2 Lite,想实现用touch pad转向的功能。调用Controller.UPvr_GetSwipeDirection函数判断手柄是否触发了转向,发现向左或向右拨动手柄几秒后函数返回的才是SwipeDirection.SwipeLeft或者SwipeDirection.Right,导致操作效果不佳。该如何解决?是否有API可以设置某些参数提高响应速度,或者有别的函数可以调用以实现touch pad转向的功能?

1 Answer

0 votes
by (5.3k points)

https://developer.pico-interactive.com/docs/cn/12050/225328/#upvr-getjoystickleft
你可以试试用UPvrGetJoystickLeft或者UPvrGetJoystickRight来完成,而且pvr_unitySDK已经不更新了,建议你用unityXRSDK进行开发

by (220 points)

感谢PICO的支持!

1.8k Questions

2.1k Answers

2.8k Comments

1.2k Developers

If you have question about this website, please click 'Send Feedback' button at the bottom left side of the homepage.
...