OMG Tip #16: Attaching Objects
======================================
Attaching a gun and other items to a player in Somnium worlds is not straightforward. The player object is instantiated on runtime. It's not available in your scene in unity editor.
You must attach the object at runtime by finding the correct parent on the player game object.
These are VR anchors for hands:
Right Hand:
Player [PlayerName] [PlayerNumber]/Motion/UnityXRCameraRig/RightHand/RightAnchor
Left Hand:
Player [PlayerName] [PlayerNumber]/Motion/UnityXRCameraRig/LeftHand/LeftAnchor
#omg #omgtips #worldbuilding #gamedev #AttachingItems #PlayerGameobject #items #guns
https://authencity.infura-ipfs.io...