We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d978580 + 82a85d3 commit 321ee82Copy full SHA for 321ee82
Assets/VRTK/Scripts/Interactions/VRTK_InteractGrab.cs
@@ -433,14 +433,6 @@ protected virtual void InitPrimaryGrab(VRTK_InteractableObject currentGrabbedObj
433
434
protected virtual void InitSecondaryGrab(VRTK_InteractableObject currentGrabbedObject)
435
{
436
- if (!currentGrabbedObject.IsValidInteractableController(gameObject, currentGrabbedObject.allowedGrabControllers))
437
- {
438
- grabbedObject = null;
439
- influencingGrabbedObject = false;
440
- currentGrabbedObject.Ungrabbed(this);
441
- return;
442
- }
443
-
444
influencingGrabbedObject = true;
445
currentGrabbedObject.Grabbed(this);
446
}
0 commit comments