Augmented Reality fluid camera movement

134 views Asked by At

I have an Augmented Reality view based on SceneKit and CoreMotion. Camera orientation is updated at 60 fps using CMDeviceMotion value. This works fine, but I would like to have more fluid movement. An example is application SkyView Free. There when you rapidly rotate the phone, AR camera is rotated rapidly, but not instantly, giving more fluid experience. It is like animating its rotation instead just rotating to current value instantly. How can I achieve similar effect? I was thinking about lowering device motion FPS to about 4-5 and then using SCNAction with duration about 0.2, but I don't think I can use SCNAction to animate orientation change of node. Or can I?

0

There are 0 answers