FranT Posted April 10, 2018 Share Posted April 10, 2018 Hello everyone, I'm quite a newbie in babylon and I've been reading a lot to understand how things work. Finally, I could make a scene work with an ortho camera, including the possibility of zooming with the mouse wheel. But when I zoom out, an effect appears that I can not understand: the camera goes to the opposite side despite the frustrum is always positive. I tried many different things but I can not understand what is happening. I created an example in babylon playground: http://www.babylonjs-playground.com/#U543PM#1 Just zoom out with the mouse wheel and see what happens. I know that I am missing something, but I have no idea of what it is, so any idea or suggestion is welcome. Thanks in advance. babbleon 1 Quote Link to comment Share on other sites More sharing options...
Guest Posted April 10, 2018 Share Posted April 10, 2018 hello this is because of distance between camera and target Just move your camera away: http://www.babylonjs-playground.com/#U543PM#4 FranT 1 Quote Link to comment Share on other sites More sharing options...
FranT Posted April 11, 2018 Author Share Posted April 11, 2018 Thank you! That was perfect to me GameMonetize 1 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.