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

Unity 2D Slow Motion Zoom Effect

Discussion in '2D' started by isacan, Jul 12, 2016.

  1. isacan

    isacan

    Joined:
    Jul 18, 2013
    Posts:
    37
    How can i achieve like this video? Any hint welcome :)

     
  2. BaronVonGarig

    BaronVonGarig

    Joined:
    Jul 12, 2016
    Posts:
    1
    I would think that you could add a script that, upon a certain condition, would force the camera to zoom in and focus on the area you'd like the game to focus on, and additionally slow down the game time a certain amount before reverting the camera and game time back to original settings. I have no idea how to code, but I do know about the things you can achieve WITH code.
     
  3. LiterallyJeff

    LiterallyJeff

    Joined:
    Jan 21, 2015
    Posts:
    2,807
    Yes it would be a combination movement over time (centering the camera on the target) and reducing orthographic camera size over time. You would also be setting Time.timeScale to a lower value, and then setting it back to 1 at the end of the slow-mo.