It's a pity that camera access is not possible. We definitely need this in our app.
Post
Replies
Boosts
Views
Activity
Is there a particular reason why I can't follow these feedback link? I always get the message: "Feedback not found."
That would be fine, if it would not have the tendency to lay itself just over the input field. At least in the simulator. Don't have any experience with a real device yet.
Ok, the entry on the second tab "App Services" was missing in my case. This is completely counterintuitive. Thanks for pointing this out!
Thanks for the hint to the other discussion. I think it would be an important addition, since I can imagine a lot of use-cases where the user is standing inside an immersive sphere and wants to interact with something.
Great. That works fine for video consumption. But how can I make this work for interactive UIs, like SwiftUI or an interactable map?
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.
I also would like to use the drag gesture instead, like it is in the DragRotationModifier of the sample. But I can't get this modifier adapted so it rotates the sphere locally and not globally, which only works if the pivot point is at [0,0,0]. Is there any tutorials out there how to work with this 3D stuff?
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.
Awesome, will try this out!
I am confused. This is definitely a development related questions. I'd like to use these gloves in our app as well.
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.
This is not about a device intended to be used by a consumer. It's about getting a developer device to another location.
That was my first assumption as well. I double checked and could not find any code that might interfere. I'm wondering if this is caused by the map tile downloads? However, it even happens if you do not touch really move the map.
This one: https://marblever.se