Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

how to find the best Smooting Value for Cam lerp?

Discussion in 'Editor & General Support' started by craig4android, May 15, 2019.

  1. craig4android

    craig4android

    Joined:
    May 8, 2019
    Posts:
    124
    Code (CSharp):
    1. Vector3 targetPosition = target.position + offset;
    2.         transform.position = Vector3.Lerp(transform.position, targetPosition, smoothing * Time.deltaTime);
    my game is quite fast and it still looks kind of strange.

    So I wonder how i should determine the best smoothing value used.

    Maybe I have to use vSync?
     
    Last edited: May 15, 2019