Closed sergiosolorzano closed 5 years ago
I was getting GameObject.FindGameObjectWithTag("ARSessionOrigin").GetComponent
hey @aerchit sorry I have not been making use of it since the time I posted here, couldn't say sorry
hey @aerchit sorry I have not been making use of it since the time I posted here, couldn't say sorry
Could You help me out? I'm trying to display those values so can u tell me what datatype did u use for confValuesArray is it ArrayList and C_ARCommonCached again what datatype ? bcs when im creating new ArrayList it is throwing an error cant convert float to array
Hi ! Please help, without Remote the debug is sooo painful :(
I'm trying to get information about feature points (ARPointCloud https://docs.unity3d.com/Packages/com.unity.xr.arfoundation@1.0/api/UnityEngine.XR.ARFoundation.ARPointCloud.html )
I've tried the code below but any debugging message stops when it his these lines. I also tested if either is or not NULL but the code just does not show anything or move forward after hitting these lines:
and
I've read confidenceValues are not reported by Arkit but positions? Are these methods currently working, how can I get cloud point information, e.g. number of feature points, its positions, even confidence if there is an alternative?
I can get the cloud position with for each update with GameObject.FindGameObjectWithTag("ARSessionOrigin").GetComponent().pointCloudsChanged and foreach (var point in change.added) but i'm after the actual feature points within the cloud.
Code below.
Thanks a bunch for your help ! On Unity 2019.1.3, arfoundation 2.1.0-preview.2, arkit 2.1.0-preview.3
}