According to the single page documentation, if we adjust the transform’s scale of the ARSessionOrigin object that will change the scale of our AR sessions tracking data. (IS this also supposed to scale the sizing of any objects we spawn into the Unity Space?) The issue I’m finding is when I set the scale to 10 on each axis for example, the demo trackables such as the cloud data points isn’t matching what I see on the camera. Is this intended behavior? If so, for what reason would you ever want to change the scale of the ARSessionOrigin?
I’ve noticed that the prefabs I spawn into the world are HUGE compared to in the editor, so I thought I should maybe adjust the ARSessionOrigin scale, but it’s looking like that doesn’t have an effect on the actual objects we spawn in the world?
Also, is it correct that if I spawn a prefab that I should have it’s parent be the ARSession’s trackablesParent transform?
void ARSubsystemManager_PlaneAdded(UnityEngine.Experimental.XR.PlaneAddedEventArgs obj)
{
var go = Instantiate(SpawnOnTouchObject, obj.Plane.Center, Quaternion.identity);
go.transform.SetParent(SessionOrigin.trackablesParent, false);
}