Search Unity

2D Camera Shake

Discussion in 'UGUI & TextMesh Pro' started by Micka_RedRare, Dec 8, 2022.

  1. Micka_RedRare

    Micka_RedRare

    Joined:
    Mar 18, 2021
    Posts:
    14
    Hello, I'm struggling to get a camera shake working on a 2D project.
    I have a scene with a main camera set in orthographic and a canvas in screen space overlay.
    I tested several solutions (simple scripts, Cinemachine VC, EZ Camera Shake, Feel...) in order to shake the main camera that seem to work in the inspector (the positions of the camera are changing as intended) and on the scene view, but in Game/Simulator nothing happens, the camera doesn't move. I tested to set the canvas to screen space camera, same result. And for this project I can't set the canvas to world.
    I've look a ton of tutorials that achieved to make it work, even on Overlay, but I don't see what I'm doing wrong or I have missed.