Hello
I’m trying to do a drag-n-drop puzzle game.
I’ve created some draggable pieces and test the position when released ( dropped ). When the pieces are in place they aren’t draggable anymore.
That works fine with conditionals, but when I try to orbit the camera and the mouse pointer is over a piece in final place (that used to be draggable), the camera doesn’t orbit.
I need to remove the drag event to those pieces in place for the camera to orbit as usual even when click and drag over a piece in final position.
One solution could be creating hidden instances ( in final place ) for each piece of the puzzle. Hide the draggable pieces once in place and show the piece in final place.
This is: hide the draggable piece once in correct place and show the instance to avoid the draggable piece blocks the camera orbiting behaviour.
It’s a little difficult to explain. Hope you understand my needs.