Hi everybody,
I want to simulate the double click and if i check the events, the click AND the double clic events are fired.
Here’s my playground :
I don’t know if it’s a bug but i want to simulate ONLY the double click.
If anybody can help.
Hi everybody,
I want to simulate the double click and if i check the events, the click AND the double clic events are fired.
Here’s my playground :
I don’t know if it’s a bug but i want to simulate ONLY the double click.
If anybody can help.
nasty hack until it gets sorted haha
side note, can you set double click speed? - the threshold seems too small. I have to actually concentrate and do like a super speed double click to make it trigger the event. ( not related to my hacky code , i mean your internal threshold for double click validation )
You can disable the extra single click using BABYLON.Scene.ExclusiveDoubleClickMode = true;
. Also, you can change the double click time by setting BABYLON.Scene.DoubleClickDelay
to the number of milliseconds that you want to have as a double click window.