Thursday, November 27, 2014

UE4 Tilt Rotation Gimbal Lock

UE4 disappointed me again. The getInputMotionState function returns device's tilt in euler angles which can be very unstable due to gimbal lock. I need to implement my own native functions to get tilt as quaternion.