VoxelStation VR一体机设置拖拽物体时只能前后左右上下,不能翻转

修改StylusInteraction_One和MouseInteraction脚本中的UpdateGrab方法和BeginGrab方法

把设置Z轴不能旋转的代码的注释打开,把上面的代码注释掉,即可实现只能前后上下左右拖拽物体,
在这里插入图片描述

在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/o_ojjj/article/details/129839120