Post

Replies

Boosts

Views

Activity

Reply to UDP Listener on iOS 14
Finally, be aware that the local network privacy alert is only triggered when you send traffic, so if your UDP socket only receives and never sends then you won’t see the alert. The current workaround is to send a dummy packet to trigger the alert. Can you provide a code snippet that does this? I've tried a bunch of things and can't seem to get the network privacy alert to show up.
Oct ’20
Reply to UDP Listener on iOS 14
Any update on this? Our app is failing too ( on the call to bind() in our own implementation or using GCDAsyncUdpSocket ). I've applied for, and implemented the MultiCast entitlement. We're also on port 55555. I updated to iOS 14.0.1 this am and still no joy. @eskimo, can we get an update?
Oct ’20
Reply to ARKit Tracking and Visualizing Planes - Angle between ARPlaneAnchor and local gravitational plane?
It feels like we're really close! There seems to be a bit of confusion in what the .normals property of an ARGeometryElement represents. The documentation says they are the "Rays that define which direction is outside for each face" but for any ARGeometryElement, the .normals.count is equal to .vertices.count and NOT .faces.count. (To be fair, the comment in ARKit.ARMeshGeometry for normals says "Normal of each vertex in the mesh.") What I'm interested in of course is the normal to any given face. Is there an easy way to get the normal vector of a face, as defined by an ARGeometryElement? We have access to the (three) vertices defining each face, so I guess it's just a bit vector math?
Jan ’23