Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Animating Shadow Caster 2D

Discussion in '2D' started by Kataarn, Jul 3, 2022.

  1. Kataarn

    Kataarn

    Joined:
    Dec 29, 2020
    Posts:
    5
    Is there a way to animate shadow caster 2d? When my player changes animations the shadows no longer look right. Sometimes there is even a gap between player and the shadow due to it moving. I tried to animate the points while recording animation but that did not work.
     
  2. kennyy_

    kennyy_

    Unity Technologies

    Joined:
    Apr 7, 2021
    Posts:
    94
    Hi @philcrawford, this is currently not supported with the Shadow Caster 2D as the shadow geometry isn't updated with the animation. There is work being done to solve this, and will be added in the near future once it is tested and stable.
     
  3. Kataarn

    Kataarn

    Joined:
    Dec 29, 2020
    Posts:
    5
    Alright. Thanks for the speedy reply!