Search Unity

  1. Are you interested in providing feedback directly to Unity teams? Sign up to become a member of Unity Pulse, our new product feedback and research community.
    Dismiss Notice
  2. Read here for Unity's latest plans on OpenXR.
    Dismiss Notice

[Question] Using oriented points

Discussion in 'AR' started by BuoDev, Jul 24, 2019.

  1. BuoDev

    BuoDev

    Joined:
    Nov 28, 2018
    Posts:
    45
    ARCore supports oriented points. Whats the best way to access their orientation in AR Foundation?

    Getting the points using the ARPointCloud class doesn't give orientation. e.g.

    List<Vector3> featurePoints = new List<Vector3>(arPointCloud.positions);


    I'm sorting the points by perpendicular distance to the ray and need to find out the corresponding TrackableId of the first result. How do I do that?
     
unityunity