Drag GLB asset not recognized or move very fast


I have problem when applying drag to GLB asset. For example in the playground, when I click and drag the leaves, it will either not recognizing the click and drag, or the object move very fast when dragging it. Is there any solution for this? Thanks.

Playground: Babylon.js Playground

Edit: sorry, it was copied from other playground, so the variable name is still sphere.

cc @Cedric

Hi @niu_bee and welcome to the forum!

I did a few changes to your playground and it works better now : https://playground.babylonjs.com/#79EKSA#2


Wow, cool… I’ve implement the changes on my local development environment and working perfectly. Thanks @Cedric and @sebavan