Skip to content

Unity3d / Cinemachine add-on module for Cinemachine Virtual Camera that adjusts the Orthographic Size of the lens, depending on camera and target distance, or velocity

License

Notifications You must be signed in to change notification settings

unitycoder/CinemachineFollowZoom2D

 
 

Repository files navigation

CinemachineFollowZoom2D

Unity3d / Cinemachine add-on module for Cinemachine Virtual Camera that adjusts the Orthographic Size of the lens, depending on camera and target distance, or velocity

Inspector Preview

'Camera Target Distance' Pattern

'Target Velocity' Pattern

Properties

  • Pattern: choose what base value would be used for zooming by OrthographicSize
    • Camera to Target Distance
    • Camera to Target Velocity
    • Target Velocity
  • Orthographic Size By Distance - AnimationCurve, describing changes to OrthographicSize by Component
  • Damping - smoothig base value changes
  • Gizmos - draw Wire Cube for final OrthographicSize and Wire Circle for input distance / velocity.magnitude at each keyframe in Orthographic Size By Distance - Curve

About

Unity3d / Cinemachine add-on module for Cinemachine Virtual Camera that adjusts the Orthographic Size of the lens, depending on camera and target distance, or velocity

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%