Forum Discussion
Anonymous
8 years agoCamera entering objects
I have several imported .obj files in my game. These object's only components are mesh renderers. The only issue I am having with them occurs when the player approaches these objects from certain angl...
vrdaveb
7 years agoOculus Staff
My recommendation would be to use a script to fade to black when the camera goes inside of an object it shouldn't. You can detect this using Colliders or by raycasting (or in a couple of other ways, such as sphere testing). For a good example, see CharacterCameraConstraint.cs in our Sample Framework's Locomotion2 sample. https://assetstore.unity.com/packages/templates/tutorials/oculus-sample-framework-82503
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 1 year ago
- 10 months ago
- 3 years ago
- 11 months ago