Nibiru VR Development Unity/Unreal SDK Unity 里若想做button 跟随摆头 要如何做呢 ...

Unity 里若想做button 跟随摆头 要如何做呢

多洛米蒂山 Post time 2019-12-31 15:56 | Show all posts [Copy URL]
15 727
Unity 里若想做button 跟随摆头要如何做呢
Reply

Use magic Report

Post time 2019-12-31 15:48 | Show all posts
button挂载到主相机下面,或者把主相机transform更新给button
Post time 2019-12-31 15:49 | Show all posts
但挂在在相机下面,白点点不就永远点不著试过了
Post time 2019-12-31 15:50 | Show all posts
肯定是点不到啊
Post time 2019-12-31 15:51 | Show all posts
所以能否有实质的建议方法吗
Post time 2019-12-31 15:53 | Show all posts
本身白点就是跟随头动的,你button也跟随头动,当然点不了啊
Post time 2019-12-31 15:54 | Show all posts
我想做UI永远能在画面的左下无论头转至哪里都能点选到
Post time 2019-12-31 15:55 | Show all posts
做跟随,画布角度不变,只有坐标跟随就行

Post time 2019-12-31 15:56 | Show all posts
Unity 部分有类似setFollowAdaptState的功能吗
Post time 2019-12-31 15:56 | Show all posts
这个就不是永远在画面左下的功能,只是当前视角某个范围内不跟随,超出范围跟随,目前Unity sdk没有这个功能,可以自己去实现
12Next
Return to forum
You have to log in before you can reply Login | Register

Points Rules

!fastreply! Top !return_list!