Handling gestures inside of the RealityView + SwiftUI and setting up the camera is not possible.
As soon as I add PerspectiveCamera then TapGesture().targetedToAnyEntity() stops to work, it's the same even if I move an Entity to far away from the default camera.
Based on my current knowledge RealityKit is not replacement for SceneKit and I'm considering different engines right now, because who knows maybe in 5 years RealityKit is deprecated and I will have to rewrite again to something else.
Topic:
Graphics & Games
SubTopic:
SceneKit
Tags: