Hello,
I am using the camera's fieldOfView property to "zoom" on a particular node in a sceneKit scene that is embedded in a UIView.
I am changing the value of sceneView.pointOfView?.camera?.fieldOfView which works fine.
However I am unable to animate that change, which results in a jarring transition.
I have tried to create a custom SCNAction attached to the pointOfView node without success.
I have also tried an SCNTransation to animate the change of value and it didn't work either.
Any idea how I can achieve this since xFov is deprecated?
I am using the camera's fieldOfView property to "zoom" on a particular node in a sceneKit scene that is embedded in a UIView.
I am changing the value of sceneView.pointOfView?.camera?.fieldOfView which works fine.
However I am unable to animate that change, which results in a jarring transition.
I have tried to create a custom SCNAction attached to the pointOfView node without success.
I have also tried an SCNTransation to animate the change of value and it didn't work either.
Any idea how I can achieve this since xFov is deprecated?