'SceneKit's "allowsCameraControl" equivalent in RealityKit
In SceneKit SDK to allow controlling a camera movement you need to set a parameter called .allowsCameraControl to true.
var scnView = SCNView(frame: .zero)
scnView.allowsCameraControl = true
What parameter for controlling a camera (dolly in, dolly out) is used in RealityKit?
var arView = ARView(frame: .zero)
// ???
Any help appreciated.
Solution 1:[1]
At the moment RealityKit 2.0 has no SceneKit's equivalent called .allowsCameraControl for moving and rotating virtual camera. Cupertino engineers consider that there's no need to have such a control because RealityKit is rather AR-sentric framework than VR-sentric one.
For further details, look at this post.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 |
