hit2501 Posted June 1, 2017 Share Posted June 1, 2017 Hi, I'm working on VR web apps but I saw that when I use VRDeviceOrientationFreeCamera the user still can move (on PC) the camera with arrows. I tried to use "VRDeviceOrientationArcRotateCamera" but in console I get "VRDeviceOrientationArcRotateCamera is not a constructor" What can I do? Thank you all. Edit: I tried also a registerBeforeRender with a 0,0,0 position for the camera but it still moves with arrows. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted June 2, 2017 Share Posted June 2, 2017 Hello you can just remove the keyboard handler with: camera.inputs.remove(camera.inputs.attached.keyboard) More doc: http://doc.babylonjs.com/tutorials/customizing_camera_inputs davrous and hit2501 1 1 Quote Link to comment Share on other sites More sharing options...
hit2501 Posted November 11, 2017 Author Share Posted November 11, 2017 That is what I was looking for, thank yoy and sorry for the delay. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.