You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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.
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
The text was updated successfully, but these errors were encountered: