Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何设置默认的初始观看角度 #81

Open
Likeadust opened this issue Jan 30, 2021 · 3 comments
Open

如何设置默认的初始观看角度 #81

Likeadust opened this issue Jan 30, 2021 · 3 comments

Comments

@Likeadust
Copy link

No description provided.

@guoguicheng
Copy link
Owner

vr.controls.reset({'target0':{'x':'','y':'','z':''}})

@Likeadust
Copy link
Author

感谢👍

@minhuan520
Copy link

按照上面设置vr.controls.reset({'target0':{'x':'','y':'','z':''}})的方法target之后,初始位置对了,但是影响了整个场景的射线的穿透,只有target0的情况下,才能正常点击到空间中的模型

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants