markt5000 Posted July 13, 2016 Share Posted July 13, 2016 I am trying to change the value of the impulse applied to the camera when one of the up/down etc keys are pressed. I have checked the docs and the closest thing I found was angular sensitivity but that was not it. Quote Link to comment Share on other sites More sharing options...
Wingnut Posted July 13, 2016 Share Posted July 13, 2016 Hiya @markt5000, welcome to the forum. camera.speed might work (for freeCamera-based things). http://doc.babylonjs.com/classes/2.4/FreeCamera In the blue boxes near the top of that page, notice that freeCamera extends targetCamera, and that's where the .speed property is established. For arcCams that use mousewheel zoom, camera.wheelPrecision. Camera.inertia might also be useful. AngularSensibility is for pans, I believe. http://playground.babylonjs.com/#10DHRY#0 There's a freeCamera playground that uses a .speed setting to slow all camera keys, and an .angularSensibility setting to slow the mouse-based camera panning. Hope this helps. GameMonetize and Boz 2 Quote Link to comment Share on other sites More sharing options...
markt5000 Posted July 13, 2016 Author Share Posted July 13, 2016 Hello, thanks for the information that is exactly what I was looking for. 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.