Hand models disappear when they come close to the HMD...

Hi all,

I’m pretty new to using the toolkit, and I’m having an issue where the hand models are disappearing when they come close to the HMD. I’m using an HTC Vive.

The main problem is that the hands disappear too soon, when they’re not even that close to your face. I’ve looked for options to change or disable this, but I couldn’t find anything in the XR Rig. Is there an easy way to change this?

Thanks in advance.

1 Like

Is it just getting clipped by the camera’s near clipping plane?

Check that on the camera settings. For VR you need a nearer near plane than for desktop games. Try 0.1 for starters.

2 Likes

sounds like a near clip plane issue. make sure you set it quite small!

1 Like

Thank you, that did it!

Thanks, that worked! I knew there had to be an easy fix!

Ahh yes, old forums out to help. Thanks!

(Just be aware, that setting the near clipping plane to be TOO close to zero will ruin any z-depth resolution, which is based on the ratio of far/near.)

Regardless of game type, set your NEAR plane as far away as you can while avoiding unacceptable near-clipping, which in VR may be 0.1f or so, or overhead mobile games maybe even 1.0f. Set your FAR plane as close as you can while avoiding unacceptable far-clipping, which for VR might be 10f, but most games will be in the 500f to 1000f range. To illustrate this, try setting near to 0.00001f and far to 1000000f.