brean Posted October 26, 2018 Share Posted October 26, 2018 Hi everyone! Thank you all for your great work! working with Babylon is a lot of fun! I am working on a visualization of some buildings (based on osmbildings.org ) for babylon.js. It works quite well, and I managed to create a camera that is panning on my map instead of rotating around an object when using a pointing device (mouse). I disabed the camera/input system of babylon completely and listen to pointer events from the browser. I think that that's very ugly and I would like to see this integrated into Babylon. I am not so familar with TypeScript and I am not sure I understand everything of the babylon input behaviour. Here is my code: https://www.babylonjs-playground.com/#LRMBBI Use the mouse to move the camera as well as the mouse wheel to zoom in. Note that zooming in should move to the mouse cursor but it is a bit off. It would be awesome if someone could help me to integrate this into the Babylon codebase. Quote Link to comment Share on other sites More sharing options...
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.