Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Interaction): ensure undroppable objects cannot be dropped
If the Interactable Object is set as `isDroppable = false` then it should not be able to drop the object by the joint breaking or the object/controller distance being too far. It should also not drop if the controller is disabled but it will drop if the Interactable Object is disabled. The way the prevent drop works on controller disable is by storing a reference to the grabbed object then auto grabbing it again when the controller is re-enabled.
- Loading branch information
1 parent
dcb8f0f
commit 0eeb7a3
Showing
2 changed files
with
27 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters