Please Select Your Location

Thailand
Australia
Österreich
België
Canada
Canada - Français
中国
Česká republika
Denmark
Deutschland
France
HongKong
Iceland
India
Ireland
Italia
日本
Korea
Latvija
Lietuva
Lëtzebuerg
Malaysia
Malta
Mexico
Nederland
New Zealand
Norge
Polska
Portugal
Russia
Saudi Arabia
Singapore
Southeast Asia
España
Suisse
Suomi
Sverige
台灣
Ukraine
United Kingdom
United States
Việt Nam
المملكة العربية السعودية (Arabic)

How do I find out the distance of the head from the floor?

Use Origin in the Inspector to find out the distance of the head from the floor.
  1. In Inspector, set Origin to WVR_PoseOriginModel_OriginOnHead.
  2. Inside your code, re-center the position of the head by calling the function
    Interop.WVR_InAppRecenter (WVR_RecenterType.WVR_RecenterType_RotationAndPosition);
    After re-centering, the position of the head will be (0, 0, 0).
  3. Place the dominant controller on the floor to get the distance of the controller from the floor.
    // Y-coordinate means the height relative to the Origin.
    WaveVR_Controller.Input (WaveVR_Controller.EDeviceType.Dominant).transform.pos.y;
    For example, if y-coordinate is-1.70, the distance of the head from the floor is 1.70m. Simply change the negative y-coordinate value to positive to know the distance of the head from the floor.
Submit
Thank You!