cancel
Showing results for 
Search instead for 
Did you mean: 

OVRCameraController Triggering Events

VRex
Protege
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
2 REPLIES 2

molton
Explorer
maybe 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);

cybereality
Grand Champion
I don't think you want to add anything to the camera. It should probably be on the OVRPlayerController.