-
Notifications
You must be signed in to change notification settings - Fork 8k
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
Spatial Locator #1366
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After we create a spatial anchor, we could get its position 4x4 matrix. As we all know, the coordinate system of our machine is relating to itself. (For instance, hololens.) If we want to change the current coordinate system to the spatial anchor, we could use a method named: CreateStationaryFrameOfReferenceAtCurrentLocation() from SpatialAnchor.
However, in order to use this method, we need to have a vector3 as its parameter. How do we transform a position 4x4 matrix to a vector3? I have searched a lot, but I did not find anything about this content. Is it possible that anyone could give me a little help? Any suggestion would be appreciated!
The text was updated successfully, but these errors were encountered: