05-15-2024 09:09 AM
Hi,
I have a scene that is working in one room and I would like it to rescan the scene or load a new scene from the device if I move into a new physical room (scanned and present on the device).
I am debugging the efficiency of MRUKRoom.IsPositionInRoom(Vector3 pos) by recoloring the EffectMesh...
But the below code does not do what it should... Any Meta ppl can help??? Please...
if (!isInRoom)
{
_effectMesh.MeshMaterial.color = Color.green;
MRUK.Instance.ClearScene();
MRUK.Instance.LoadSceneFromDevice();
}
Thank you.
GL
05-31-2024 02:26 AM
You can use OVRScene.RequestSpaceSetup() to prompt the user to scan a new room.