Forum Discussion
dddienst
6 years agoHonored Guest
Player location in Boundary space
Is there any way to get the players exact location in the boundary space? The TestNode function only gives the distance to the nearest boundary array point. If I could get the distance to more then one point I could calculate it but distance to 1 point is not enough for a fixed location.
3 Replies
- dddienstHonored GuestMaybe someone can at least explain the difference between the closest point and the closest point normal? I am pretty sure I know what the closest point is telling me but what is the closest point normal telling me?
- CorysiaExpert ProtegeOk, I'll take a stab at this. I'm not an expert, but I have decent Google Fu. And maybe someone will correct me if I'm wrong and I'll learn something, too.
ClosestPoint Vector3 Describes the location in tracking space of the closest boundary point to the queried node or point. ClosestPointNormal Vector3 Describes the normal of the boundary point that is closest to the queried node or point.
I would assume that the Normal is the same as any Normal in computer graphics.
https://en.wikipedia.org/wiki/Vertex_normal
So...I would guess that the normal is the UP of that vertex for the boundary point. Imagine taking that grid of the Guardian cage and laying it flat like it was terrain. Apply a texture to it and shine some light on it. Normals are used in that case to determine how the light plays across that surface.
I'd also guess that the normal vector is pointing generally towards the center of the play area. - BBigGProtegeHey @dddienst, did you find a solution for this? We are looking at the same topic at the moment. Would be great to locate a player in the tracked boundary.
Cheers.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 1 year ago
- 3 months ago