cmdr2 Posted January 12, 2019 Share Posted January 12, 2019 Hi, I'm looking for a way to hide the controller model at runtime, since I need to show the controller only during parts of the game. I'm using the Unity SDK. Presently what works for me (but I'm not sure if this is the correct, future-proof way): 1. Store the Controller's GameObject provided by the CONTROLLER_MODEL_LOADED event: WaveVR_Utils.Event.Listen(WaveVR_Utils.Event.CONTROLLER_MODEL_LOADED, onControllerLoadedEvent); 2. Keep setting that controllerGameObject.SetActive to false in an Update(), since it seems to become active a few frames after the event callback above. I verified that the controller's orientation data continues to be reported correctly, even when the controller's gameObject is hidden. I was curious to know if there's a better way to do this. Thanks! ~cmdr2 Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now