Post

Replies

Boosts

Views

Activity

Comment on Please, restore VisionOS simulator for Intel-based Macs.
It won't work. At least not in a satisfying way. I tried this approach, but if was buggy and super slow. Also, it was hard to get it up and running in the first place. It caused me so much trouble that I ended up buying an M3 MBP the day it came out. And yes, shame on Apple to force people to do so. Together with the VP, this will add up to around $9.5k for me (would have been cheaper if I hadn't picked one of the Max ones, but I wanted to be sure that I can keep up their pace for a while).
Jan ’24
Comment on visionOS: How to debug Safari / WkWebView?
Thanks, I found this property in the meantime. I think this should be mentioned on this page: https://developer.apple.com/documentation/safari-developer-tools/inspecting-visionos The way I read this, it's enough to run you app in the simulator. But even if you try to debug Safari, it will not work. Setting the isInspectable flag worked, though.
Topic: Safari & Web SubTopic: General Tags:
Feb ’24
Comment on HelloWorld example: How to make the globe in immersive space interactable?
Tried it out, but didn't work as I expected. I tried this code: .gesture(RotateGesture().targetedToAnyEntity().onChanged({ value in guard let angle = earthEntity?.transform.rotation.angle else { return } earthEntity?.transform.rotation = simd_quatf(Rotation3D(angle: Angle2D(radians: value.rotation.radians), axis: .y)) })) but it starts the rotation at 0. If I try to add the current rotation of the earth in radians instead, the globe rotates weirdly.
Topic: App & System Services SubTopic: Core OS Tags:
Feb ’24
Comment on HelloWorld example: How to make the globe in immersive space interactable?
I think my biggest problem is that the existing DragRotationModifier rotates the entire RealityView around the world origin. If it would rotate around the local axis of the globe, it would work as I would expect it. But I cannot figure out how to do that. Basically, I would have to apply the "rotation3DEffect" the modifier sets on the RealityView's content on the entity of the globe instead, which is a child of the content.
Topic: App & System Services SubTopic: Core OS Tags:
Feb ’24