Skip to main content
February 28, 2022

Finding Boundary Coordinates?

I'm developing a simulation in the Quest 2 using Unity and would like to access the boundary coordinates. In the past, there was a GetGeometry option but it appears to have been deprecated. Can anyone point me in the right direction here?

3 replies

Up and Coming
June 6, 2022

Hello!

 

It was a few months ago that you asked your question, and I have discovered that:

 

OVRManager.boundary.GetGeometry(OVRBoundary.BoundaryType.PlayArea)

 

will indeed return 4 Vector3s that you can use to define the play area, in world space.

 

However, if you pass in the alternate enum value OVRPlugin.BoundaryType.OuterBoundary, it returns a 0-length array.

 

Is this temporarily broken, or has it been fully deprecated (to make it compatible with a similar OpenXR API or something)?

 

Thanks,

David

New Participant
February 3, 2023

Bump

New Participant
August 29, 2023

Bump - I need to know this too.