Fix gimbal-lock when controller pointed up or down

Compare old and new pose via a relative quaternion rather than relative yaw, then calculate the resulting yaw-difference from the quaternion in one go.
This commit is contained in:
Kung-vr
2019-01-17 02:32:08 +09:00
parent 0c0a616691
commit 47920bfa74
4 changed files with 71 additions and 18 deletions
+1 -1
View File
@@ -418,7 +418,7 @@ MyStackViewPage {
// REVERT TO THIS LATER: summaryVersionText.text = applicationVersion
// TEMP VERSION:
summaryVersionText.text = "Alpha-Kung v1.3"
summaryVersionText.text = "Alpha-Kung v1.4"
if (MoveCenterTabController.trackingUniverse === 0) {
summaryPlaySpaceModeText.text = "Sitting"