Myjestic Posted October 5, 2017 Share Posted October 5, 2017 Hi, I try to lock the pointer without the PointerLock API. I want to do it with "engine.isPointerLock". I have created a PG https://playground.babylonjs.com/#MVQB59. If you press "Q" the camera will turn in the direction of the mouse movement. Now the questions. 1) How can I fix the Pointer arrow in the center of the scene after pressing "Q"? 2) Is it possible to hide the standard cursor after pressing "Q"? I would really appreciate your help. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted October 6, 2017 Share Posted October 6, 2017 Hi! Pointer lock will only work in fullscreen (I mean the cursor will only disappear in fullscreen) You cannot move the cursor with Javascript Quote Link to comment Share on other sites More sharing options...
Myjestic Posted October 7, 2017 Author Share Posted October 7, 2017 Okay. Then how can I increase the sensitivity of the camera movement, so that a slight mouse movement produce in a big turn around of the camera? Quote Link to comment Share on other sites More sharing options...
Arte Posted October 7, 2017 Share Posted October 7, 2017 Hi @Myjestic, Just play with: camera.angularSensibilityX = 100; camera.angularSensibilityY = 100; 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.