Have Head Bone Rotate with OVR Camera Correctly
When i attach the camera to the head bone, it works fine, but when I program it to rotate the bone with one of the cameras, the head freaks out :/. any idea what to do to fix this???
this is an example of what i put to make it work :(
public Transform cameraObject; //I'm using a transform because I'm using the Oculus Rift for it's rotation
public Transform headBone;
void Update()
{
headBone.rotation = cameraObject.localRotation;
}
this is an example of what i put to make it work :(
