Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
VRex's avatar
VRex
Protege
11 years ago

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

2 Replies

Replies have been turned off for this discussion
  • 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);
  • I don't think you want to add anything to the camera. It should probably be on the OVRPlayerController.