Move SKCameraNode using LERP through SKConstraint

217 views Asked by At

I was just wondering if there is a way to implement a linear interpolation effect on my SKCameraNode while it is following my player node through use of SKConstraints. I am currently using constraints identical to the constraints used in Apple's Demo Bots tutorial. The alternative seems to be either using actions to reposition my camera with a delay/time, or changing the position with a delay directly in the update method. The camera scrolling as it is seems kind of jerky while the distance constraint to the player is set to a constant 0.0 like it is in Demo Bots. Please let me know your thoughts and all feedback is appreciated.

0

There are 0 answers