Well, what do you want it to do then?
What does "is there any way how to make it automated based on real height of person? Headset itself of course can do so (Meta Quest Pro)" mean?
The headset doesn't know how tall the person wearing it is. It only knows where the headset is positioned relative to where the headset was reset.
You have the same information and controls as other VR apps running on the headset. You are in control of what you do with that information.
You don't have to manually set nodes in the tree. You can programmatically do so.
For example, the example Oculus Touch VR demo model has an object with OnPreDraw that sets the viewpoint:
treenode view = param(1);
if (getvarnum(view, "vrmode")) {
set(viewpointrx(view), 0);
set(viewpointry(view), 0);
set(viewpointradius(view), 1.74);
}
That model is designed so that the view is 1.74 meters from the floor. When demoing that model at a tradeshow, we have each person reset the headset after they put it on. For someone 180cm, it will feel like they are 6 cm shorter in VR than they are in reality; for someone 160cm, it will feel like they are 14 cm taller in VR than they are in reality. But all the objects and controls in the simulation are positioned with the expectation that the person's head is positioned at 1.74 meters in the simulation when standing in a reset position.
I don't understand what you want the software to do. The software can't determine how tall a person is; only where the headset is relative to where it was reset.
EDIT: I found a command that may do what I think you want it to do. Rather than tracking relative to the headset, there's an Oculus SDK command (ovr_SetTrackingOriginType) to adjust the tracking relative to the floor height calibrated in the guardian system. Then you could set the viewpointradius to 0 and the headset's position would be calculated relative to the calibrated floor position instead of relative to the reset location. I'll add a case to the development list to look into this. In the meantime, tracking only works relative to eye level, not the calibrated floor position.
Phil BoBo
Sr. Manager, Software Development