Posts

Post not yet marked as solved
1 Replies
386 Views
Are there any rule-of-thumb accuracy specifications we can use to plan our Nearby Interaction apps? For example, in ideal cases (phones are facing each other with clear line of sight), what sort of distance measurement accuracy can we expect? What about the refresh rate for position updates? 10Hz? Similarly, when conditions are less than ideal (for example, devices are not facing each other in the antennas beam pattern), does the distance accuracy degrade significantly? I know we'll lose the direction vector. Thanks!
Posted Last updated
.
Post not yet marked as solved
2 Replies
1.3k Views
When interacting with a RealityKit scene (built in RealityKit Composer), how do you access the camera position for each rendered frame?// In ARView var cameraTransform: Transform { get }I see the cameraTransform propery, but how can I get a callback or event for when each frame is about to be rendered? I'd like to alter some objects based on the position of the camera, but more than can be done with triggers in RKC.Did the SwiftStrike demo at WWDC need to do that ? Or did they just have the camera impart a force on the ball as the player went near it?Thanks,MF
Posted Last updated
.