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

Examples of using PointerLockControls / Keyboard controls #84

Open
LubergAlexander opened this issue Aug 8, 2016 · 0 comments
Open
Assignees

Comments

@LubergAlexander
Copy link

I noticed that "orbitControls" is a property of a Scene, and it works fine. Is there any way to use PointerLockControls ? I tried using this module: https://www.npmjs.com/package/three-pointerlock

and although I can probably pass it as "orbitControls" since the function's signature is the same, I can't call "controls.update(1)" in the render loop, since I do not have easy access to the instance of PointerLockControls which is created by react-three and stored in its internals.

Can you please point me in the right direction ? Maybe there is another module which is compatible with it ?

@Izzimach Izzimach self-assigned this Aug 10, 2016
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

2 participants