Post

Replies

Boosts

Views

Activity

Reply to Using SpatialTapGesture location with AnchorEntity hierarchies on visionOS
Yeah, I get the same behavior. There are a few posts here of others finding the same behavior too. I think you can only get location information relative to the AnchorEntity’s origin from that entity and its children. In addition, AnchorEntities and their children cannot behave in physics based interactions outside of that anchors hierarchy and that includes ray casting. I’ve been endeavoring to never use an AnchorEntoty because of these limitations. Thankfully the plane provider that works on device doesn’t require those entities or else I would be sunk.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Dec ’23
Reply to Ads at VisionOS
All I know is that you won’t be able to use “hover” states to detect if the users eyes are actually resting on ad content. Other than that I have not heard of any limitations. I‘m looking forward to apps that can put black squares over billboards in real life. :D
Topic: App & System Services SubTopic: General Tags:
Dec ’23
Reply to Some question about visionOS
Number one is prevented for privacy reasons. There are some ways to communicate to the system which shape should be used when a hover is occurring, but there is no way to act on the event. The Hover highlighting is even performed out-of-process so it can't be used maliciously, such as my ad-companies. Number Two I don't know Number three may be called "Billboarding" and there is an example of that in the splash splash sample code.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Nov ’23