Search Unity

[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?