Vousk-prod. Posted December 1, 2016 Share Posted December 1, 2016 When beta value is around 0, alpha values become a little bit erratic... Test PG : http://www.babylonjs-playground.com/#NA4OQ#43 Move your mouse horizontally while trying to not move it too much up and down, and you'll see the bug. It looks like kind of a gimbal problem, but not fully... This bug wasn't in BJS 2.4 and previous. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted December 1, 2016 Share Posted December 1, 2016 Are you sure this was working on 2.4 ? I see no code diff in this area (there: https://github.com/BabylonJS/Babylon.js/blob/master/src/Cameras/babylon.arcRotateCamera.ts#L422) Quote Link to comment Share on other sites More sharing options...
Vousk-prod. Posted December 2, 2016 Author Share Posted December 2, 2016 Hmm, you're right. It didn't work in 2.4 final : http://vousk-prod.net/webgl/arcrot/index2.4.html But it did work in 2.3 final : http://vousk-prod.net/webgl/arcrot/index2.3.html (link test for latest version is : http://vousk-prod.net/webgl/arcrot/index2.5.html ) Quote Link to comment Share on other sites More sharing options...
Vousk-prod. Posted December 2, 2016 Author Share Posted December 2, 2016 I have on my comptuer an old 2.4 beta (creation date 4 april 2016) where it also works. Quote Link to comment Share on other sites More sharing options...
Vousk-prod. Posted December 2, 2016 Author Share Posted December 2, 2016 (could be usefull to have a timestamp in the build files) Quote Link to comment Share on other sites More sharing options...
adam Posted December 2, 2016 Share Posted December 2, 2016 http://www.babylonjs-playground.com/#NA4OQ#44 In _checkInputs I made it so that beta gets updated after alpha. line 283 Vousk-prod. 1 Quote Link to comment Share on other sites More sharing options...
Vousk-prod. Posted December 2, 2016 Author Share Posted December 2, 2016 Nice! Would you mind doing a PR ? (I also can do it if you prefer). Quote Link to comment Share on other sites More sharing options...
adam Posted December 2, 2016 Share Posted December 2, 2016 I'm submitting a PR for something else later today so I can do it with that. Quote Link to comment Share on other sites More sharing options...
Vousk-prod. Posted December 2, 2016 Author Share Posted December 2, 2016 OK, thanks 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.