Discussions
Problems when parenting a NVR Interactable Items to an empty gameobject
We're currently having a problem with NVR when dealing with gameobjects that use Unity's joint system.
The objects we want the user to pick up is comprised of multiple gameobjects--each with their own NVR Interactable Item script and Rigidbody. The structure is this:
Item1
--GO1 (NVR Interactable Item, Rigidbody, Hinge Joint)
--GO2 (NVR Interactable Item, Rigidbody)
The reason for this is because we need to have a hinge joint between the two gameobjects but they are both part of the same object to be picked up and interacted with. A good example of this is a simple door hinge.
Right now, picking up GO1 will move both gameobjects because one is attached to another via the joint component. However, Item1, the gameobject that holds the two pieces together does not have its position updated. I cannot move the NVR Interactable Item and Rigidbody to Item1 either because hinges need rigidbodies on both itself and on the gameobject its attached to.
I understand why you don't want Item1 to move due to some people using empty gameobjects to organize their hierarchy, but there's currently no way of supporting multi-piece objects that use joints with NVR.
Any help is appreciated here. Thanks.