Oculus CheckIfPointWithinPlayArea function returns incorrect results, always reporting true whether or not the hand is inside the play area or not.  The distance and closest point also seem incorrect.

Steps to Reproduce
  1. Open the attached[Image Removed] project, and play in VR[
  2. There is a widget attached to the controllers of the hand to report the values output from testing the current location of the MotionController component (as well as that location plus the HMD's location in tracking space).
    • [Image Removed]
  3. Using that window, verify the following:
    1. IsTriggering is always true despite if the hand is inside or outside of the oculus boundary
    2. Closest distance is a very large negative number, but is not in normal unreal units as moving the hand all around does not change the number very much
    3. The closest point seems to not change much based on which part of the boundary the hand is close to
    4. The closest point changes based on the movement of the HMD.  Since it is supposed to be world space, this should not be the case.

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-53905 in the post.

Login to Vote

Affects Versions4.18.2
Target Fix4.20
Fix Commit4150804
Main Commit4165769
Release Commit4150804
CreatedJan 10, 2018
ResolvedJun 20, 2018
UpdatedSep 16, 2019