I’m doing an experiment in room-scale VR where the user must walk around walls that stick out into the play space. I’d like to prevent the user from sticking their head through the wall (this would be “cheating” and defeat the purpose).
Is there a standard/recommended approach to doing that?
One option is to fade the user out to black and ask them to step back to a neutral position. You could try and move the rig backwards away from the head motion (there was a GDC talk from 2018 from the person who built the VR International Space Station experience that went into this)
Here is the script I wrote to do this for one of the projects I was working on if that helps: