Hi , Is it possible to drag and drop a obj in a specific place, and if the user does not drop it in the specified place, the obj will return to its original place???
Here is a basic implementation based on DragControls
: https://jsfiddle.net/gw6vzeux/
The idea is to use the drag
event to check for intersections and the dragEnd
event for the placement.
5 Likes
Hi Mr , when i use it for gltf model it drag every single mesh on model ,and the model become in mess , any solution??