[repost] Touch events broken with VPS

I am still waiting for a fix for my drag and drop system, which is the limiting factor to start user testing.
The touch events stop in VPS when moving. Please fix this or provide a workaround for drag and drop in AR!

You can test the bug when running the drag and drop sample with VPS instead of regular AR: Studio: Drag and Drop | Dunk Technologies | 8th Wall
You pick up a duck but it instantly drops

Original unanswered post: Object detects touch stopped without me stopping the touch - #6 by Dylan_Smit

Thanks for posting this, I’ll make sure it gets flagged with the engineering team.

Hi, I’ve got an update for you. The engineering team has looked into this and it looks like the best way to handle this case where you want to move and click at the same time is adding support for checking the mouse button in your code like this:

.onEvent(ecs.input.SCREEN_TOUCH_START, 'following', {
  target: eid,
  where: (e) => e.data.button === 0
})

Keep in mind this won’t work until the the engineering team is able to get this fix out.

Hey there, how’s the fix going?

This should be fixed now, can you give a try?

Seems to be the same code as I already used, except for the where statement. When I add the where statement it doesnt do anything. Seems that .button is not valid according to the IDE.

Also when I open my fish market project almost all geometry isnt visible in the simulator. Any idea what it could be?

Can you share the project with the support workspace so I can take a look? Also let me know the name of the project.

The drag and drop demo (non VPS) is here: Studio: Drag and Drop | Dunk Technologies | 8th Wall

And I just invited support to Gouda Fish Market AR. Let me know if it works