What is the lerp function and why would it produce a smoother rendering of motio
ID: 3888827 • Letter: W
Question
What is the lerp function and why would it produce a smoother rendering of motion in
void FixedUpdate () { // Create a postion the camera is aiming for based on the offset from the target. Vector3 targetCamPos = target.position + offset; // Smoothly interpolate between the camera's current position and it's target position. transform.position = Vector3.Lerp (transform.position, targetCamPos, Time.deltaTime); }
than with
void FixedUpdate () { // Create a postion the camera is aiming for based on the offset from the target. transform.position= target.position + offset;
Using the indicated macros, write a program that prints the type of file for S_ISREGO)