Jump to content

How to hide controller models?


Caden
 Share

Recommended Posts

This might be a dumb question, but I haven't found anything in the documentation on it specifically. 

I assume there's a straight-forward way of showing/hiding the default controller models during runtime? I guess on that same thought process is there a simple way to replace the controller models with something different if desired?

Thanks

Vive Focus Plus

Unity 2018.4.14f1

Wave SDK 3.1.4

@Cotta @Tony PH Lin

Link to comment
Share on other sites

Hi @Caden

The WaveVR_ControllerLoader prefab handles controller model showing/hiding automatically according to some predefined rules. For example, show controller model when it is connected, and hide it when disconnected. However, it doesn't allow developer to customize when to hide or show it.

To handle showing/hiding controller model on your own, do not use WaveVR_ControllerLoader prefab. Instead, create a customized controller model and attach it with the WaveVR_PoseTracker script to get controller pose. You may check the online docs for more details: WaveVR_PoseTracker

Link to comment
Share on other sites

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

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...