{"id":226758,"date":"2019-08-21T18:55:28","date_gmt":"2019-08-21T10:55:28","guid":{"rendered":"http:\/\/magicalbits.net\/?p=226758"},"modified":"2019-08-21T18:55:28","modified_gmt":"2019-08-21T10:55:28","slug":"swift-scenkit-eulerangles-strange-values-during-rotation-stack-overflow","status":"publish","type":"post","link":"https:\/\/magicalbits.net\/?p=226758","title":{"rendered":"swift &#8211; ScenKit eulerAngles strange values during rotation &#8211; Stack Overflow"},"content":{"rendered":"<blockquote><p>That&#8217;s how Euler angles work.<\/p>\n<ul>\n<li>Values become inaccurate in certain orientations. In particular, when <code>pitch<\/code> is \u00b190 degrees, <code>roll<\/code> and <code>yaw<\/code> become erratic. See the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Gimbal_lock\" rel=\"nofollow\">wikipedia article on gimbal lock<\/a>.<\/li>\n<\/ul>\n<\/blockquote>\n<p>Source: <em><a href=\"https:\/\/stackoverflow.com\/questions\/32126632\/scenkit-eulerangles-strange-values-during-rotation\">swift &#8211; ScenKit eulerAngles strange values during rotation &#8211; Stack Overflow<\/a><\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>That&#8217;s how Euler angles work. Values become inaccurate in certain orientations. In particular, when pitch is \u00b190 degrees, roll and yaw become erratic. See the wikipedia article on gimbal lock. Source: swift &#8211; ScenKit eulerAngles strange values during rotation &#8211; Stack Overflow<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ep_exclude_from_search":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-226758","post","type-post","status-publish","format-standard","hentry","category-uncategorised"],"jetpack_featured_media_url":"","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/magicalbits.net\/index.php?rest_route=\/wp\/v2\/posts\/226758","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/magicalbits.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/magicalbits.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/magicalbits.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/magicalbits.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=226758"}],"version-history":[{"count":1,"href":"https:\/\/magicalbits.net\/index.php?rest_route=\/wp\/v2\/posts\/226758\/revisions"}],"predecessor-version":[{"id":226759,"href":"https:\/\/magicalbits.net\/index.php?rest_route=\/wp\/v2\/posts\/226758\/revisions\/226759"}],"wp:attachment":[{"href":"https:\/\/magicalbits.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=226758"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/magicalbits.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=226758"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/magicalbits.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=226758"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}