Search Unity

[HTC Vive] SteamVR+VRTK Scene switching

Discussion in 'AR/VR (XR) Discussion' started by Black_Raptor, Jun 15, 2017.

  1. Black_Raptor

    Black_Raptor

    Joined:
    Nov 3, 2014
    Posts:
    181
    Hi !

    This is my problem :

    I have a first scene ( Menu ) where the player setup his weapon, when he selected and setup his weapon he can choice on a map where he want to go, ( Clic on the point ) and when he click on his destination that load another scene and load The player ( Camera Rig ) and his weapon on his hand ( VRTK ).

    That part work good, i use Dont Destroy on load, on the weapon and when he click the news scene get loaded with the weapon on his hand, BUT the problem is i need to have the same Camera Eyes setup for All my scene ... And that's a big problem because i need to add different script on Camera Eyes beteween all these scene.

    So someone have an idea for fix that ? A way for weapon select on Menu scene and carry the weapon IN the hand of the player for the next scene loading ( I use VRTK system ).

    Thanks :)