cam.setPosition( cam.getPosition()+(targetPos-cam.getPosition())*0.01 );
cam.lookAt(targetPos);
Last active
September 19, 2021 19:20
-
-
Save patriciogonzalezvivo/4bd64d4660eefbfc30db to your computer and use it in GitHub Desktop.
Simple Camara Follow in OF
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment