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
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:
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: