GameMonetize Posted September 26, 2016 Share Posted September 26, 2016 The cursor is the spinning cube? Quote Link to comment Share on other sites More sharing options...
Temechon Posted September 26, 2016 Share Posted September 26, 2016 Another solution would be to divide by devicePixelRatio : http://www.babylonjs-playground.com/#XQY4I#21 Anyway, I see no glitch neither... Quote Link to comment Share on other sites More sharing options...
TheTrope Posted September 27, 2016 Author Share Posted September 27, 2016 Thanks @Temechon, this is working too ! The issue is now fix, i don't know why, but the pickInfo made the glitchy cursor for me. I replaced this with a scene.pickWithRay, and it's now really smooth. @Deltakosh Yes the cursor is the square, you can see the problem i had more clearly on mobile device when moving here : http://www.babylonjs-playground.com/#XQY4I#22 @Nockawa Sorry for this, it wasn't related to Canvas2D at all. Thanks you all ! Nockawa 1 Quote Link to comment Share on other sites More sharing options...
Nockawa Posted September 28, 2016 Share Posted September 28, 2016 On 9/27/2016 at 11:31 AM, TheTrope said: Thanks @Temechon, this is working too ! The issue is now fix, i don't know why, but the pickInfo made the glitchy cursor for me. I replaced this with a scene.pickWithRay, and it's now really smooth. @Deltakosh Yes the cursor is the square, you can see the problem i had more clearly on mobile device when moving here : http://www.babylonjs-playground.com/#XQY4I#22 @Nockawa Sorry for this, it wasn't related to Canvas2D at all. Thanks you all ! No worries, we're to help! It's just that when it's not related to Canvas2D I'm just a noob concerning bjs! 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.