In ARFoundation for mobile devices, there is an approach available to apply scaling to the XROrigin, allowing you to resize game content without directly applying scale to the game objects themselves.
ARSessionOrigin
(it is from documentation (looks like mistake, I guess should be XrOrigin)), now this component calls XrOrigin
.
I tested this with the latest PolySpatial (0.2.2) version and it appears that the expected scaling behavior does not work as intended. When I apply a typical scale factor (to XROrigin), such as 10, meant for mobile devices, it results in the generated planes and meshes becoming smaller and losing their original position and size.
Configuration:
Unity 2022.3.5
Xcode 15 beta 5
PolySpatial 0.2.2
Unbounded mode
ArMeshManager or/and PlaneManager
Are there any specific instructions available on how to adjust the scale? Thank you.