Hello everyone,
I want to set my DeviceOrientationCamera initial rotation. I dig forum and found something about resetToCurrentRotation() but im not able to make it work. I want my DeviceOrientationCamera start with looking a target like ArcRotateCam What i mean by this I place my cam to right place but it look to wrong direction for initial position.
cam = new babylon.DeviceOrientationCamera("DeviceOrientationCamera", position, scene);
cam.rotationQuaternion.y = Math.PI / 2;
cam.resetToCurrentRotation();
For example i want to turn my DeviceOrientationCamera X degree in Y axis then start controlling with device. What should i do?
Thanks in advence!