satoshi0212 / visionOS_30Days

visionOS 30 days challenge.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

what is worldtracking meaning

heguihan opened this issue · comments

I run your demo day04
Task {
try await session.run([worldTracking])

        for await update in worldTracking.anchorUpdates {
            switch update.event {
            case .added, .updated:
                print("Anchor position updated.")
            case .removed:
                print("Anchor position now unknown.")
            @unknown default:
                break
            }
        }
    }

is that camera position? but it dose not work on my mac. i want get the camera position ,i can not find the correct api

I've tried implementing this, but it didn't make sense at this point.
I will try to test it again at a later date.