• Create new Unity project
• Import VRTK and Steam VR
• Accept to all SteamVR project setting changes.
• Open example scene 041_Controller_ObjectSnappingToDropZones
• Click Play
• Pick up the Torso with one controller
• Pick up one of the Arm pieces with the other controller
• Move Arm to either Arm Snap Drop Zone and release
• Arm snaps successfully
• Now unsnap the arm and move it away from the torso
• The snap drop zone red highlight stays visible until you ungrab the torso object
• Now pick up the torso again with one controller and a leg piece in the other controller
• Snap the leg to the torso
• Leg successfully snaps
• Now unsnap the leg and move it away from the torso
• The Leg snap drop zone highlight disappears as expected when out of range
When snapping an object that is apart of the interactable object like the torso example, the highlight should disappear once all valid objects have left the trigger area. The correct behaviour happens with the torso legs.
When snapping an object that is apart of the interactable object like the torso example, the highlight doesn't disappear once all valid objects have left the trigger area. I only know that this happens with the torso arms in the example scene.
I know what the problem is, if the collider on the snap drop zone is overlapping the thing you're grabbing, then it will cause the issue. The legs don't overlap the torso but the arm colliders do.
I'll look into a fix.
takpar
Most helpful comment
https://github.com/thestonefox/VRTK/pull/1624