Open RavindraVirat opened 6 years ago
This is not currently covered in our sample code. There's a couple options:
What is the event that is triggered when drag and drop occured? https://github.com/inio @
This is not currently covered in our sample code. There's a couple options:
- Use the hitTest result pose each frame without creating an anchor
- Each frame during the drag create a new anchor and detach the old one
- Create an anchor when the drag starts, store the relative hit pose each frame during the drag, and then create a new anchor when the drag completes.
What is the event triggered when drag and drop. @nvictornvictor
I want to implement the functionality to move around the anchor object like "Drag n Drop", using onTouchEvent method I am getting the touch co-ordinates but I am not getting how to apply this co-ordinates to anchor so that it will appear like it is moving, please guide me with the Sample code.