Hi, I’m trying to retrieve the floorplane data detected by Nuitrack SDK.
I use Unity and Intel RealSense D435 for my project development.
This is what I did to my script:
public Vector3 normal;
private nuitrack.UserFrame aaa = new nuitrack.UserFrame();
if (CurrentUserTracker.CurrentUser != 0) //if user is tracked
normal = aaa.FloorNormal.ToVector3();
And after running the project what I get is (0,0,0),
every time it prints the “normal vector” on the debugging console.
Can anyone help me out? Thanks!