VRNavDemo: Figuring Out Navigation on Vision Pro
Apple Vision ProvisionOSGitHubRealityKitnavigation
First bit of code I've put out in public! VRNavDemo is a small sandbox for testing camera navigation models on Vision Pro, and it's up on my GitHub.
The problem I was trying to solve: when you're modeling in a headset you still want to tumble around an object the way you would in Maya, but doing that in a space where you can also just walk around gets weird fast. The demo lets me try tumble, orbit and fly style navigation against each other and see which one makes me queasy.
Spoiler: the Maya style Y-up tumble won, with rotation stored as just two numbers. Every time I tried to get clever with quaternions it drifted. This is groundwork for something bigger that I'll be talking about soon.