Skip to content
This repository has been archived by the owner on Jul 3, 2021. It is now read-only.

Gymbal lock #45

Open
StanleyRussian opened this issue Jan 16, 2018 · 0 comments
Open

Gymbal lock #45

StanleyRussian opened this issue Jan 16, 2018 · 0 comments

Comments

@StanleyRussian
Copy link

If you launch example, then physically rotate to the left or to the right, then try to look up or down you will get rotation by wrong axle. As mentioned in title I believe it is due to cymbal lock.
Here's great answer on stack exchange regarding this issue: https://gamedev.stackexchange.com/a/136175

Unfortunately, my knowledge of swift is not sufficient to fix it, but if someone points me to line where the rotation is actually applied to camera I will try to fix it, since I did similar thing for UnityEngine

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant