Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Camera Transform Matrix Values #14

Closed
hmerzin opened this issue Sep 2, 2017 · 2 comments
Closed

Camera Transform Matrix Values #14

hmerzin opened this issue Sep 2, 2017 · 2 comments

Comments

@hmerzin
Copy link

hmerzin commented Sep 2, 2017

Hi, I was looking for ways to implement projectiles in my ARKit project and stumbled across your ViewController. I saw that in the method getUserVector, the direction property was set based on positions: m31, 32, and 33 of the camera transform matrix and I was wondering how you figured this out. I wasn't able to find it anywhere I looked in any documentation, article or video. Is there some sort of documentation on the properties of this matrix you found? Sorry to open a new issue. I hope I'm not bugging you, I was just insanely curious about that one line (which helped me a lot, thank you!).

Cheers, Harry

@farice
Copy link
Owner

farice commented Sep 19, 2017

I did not see this in the documentation!

I determined it myself by considering the linear algebra at hand. I'll update with more details on the website (texnotes.me) soon and then I'll link you. Glad I was able to help.

Cheers,
Faris

@farice farice closed this as completed Sep 19, 2017
@hmerzin
Copy link
Author

hmerzin commented Sep 19, 2017

Thanks so much!

-harry

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

No branches or pull requests

2 participants