一、将unity 与visual studio 相关联
1.Edit->Preference->External tool 选择相应的版本
二、手柄遥控人物转向和人物移动
1.添加Locomotion System组件 选择XR Origin;
2.添加Continuous Move Provider(Action-based)组件
1>System:
2>Move Speed:注意速度过小会导致看起来没有移动
3>RightHandMoveAction(right loco move):个人采用右手柄实现移动
2.添加Continuous Turn Provider(Action-based)组件
1>System:
2>Turn Speed:注意旋转速度过小会导致看起来没有移动
3>RightHandMoveAction:个人采用右手柄实现旋转
文章来源:https://www.toymoban.com/news/detail-717195.html
至此,初步的移动功能就实现了文章来源地址https://www.toymoban.com/news/detail-717195.html
到了这里,关于使用U3D、pico开发VR(二)——添加手柄摇杆控制移动的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!