Forum Discussion
VRex
11 years agoProtege
OVRCameraController Triggering Events
Howdy,
Trying to get an animated OVRCameraController to trigger events when it enters a box collider trigger zone. Tried attaching a rigid body to the camera, but it messes the head tracking up (Head just wiggles a little but cannot move around). Anyone know how to remedy this? Thanks so much.
VRex
Trying to get an animated OVRCameraController to trigger events when it enters a box collider trigger zone. Tried attaching a rigid body to the camera, but it messes the head tracking up (Head just wiggles a little but cannot move around). Anyone know how to remedy this? Thanks so much.
VRex
2 Replies
Replies have been turned off for this discussion
- moltonExplorermaybe you can attach the collider and rigidbody to another object that is parented to the Cameracontroller and then disable physics reactions between the PlayerController and the new object. That would probably work.
Physics.IgnoreCollision(new_object.collider, PlayerController.collider);
- cyberealityGrand ChampionI don't think you want to add anything to the camera. It should probably be on the OVRPlayerController.
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
- 9 months ago
- 9 months ago