Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct here to familiarize yourself with the rules and how to post constructively.

  2. Unity 2022.1 is now available as the latest Tech release.
    Dismiss Notice
  3. Improve your project's performance with our new guide on profiling in Unity.
    Dismiss Notice

Mecanim and Animation Event

Discussion in 'Developer Preview Archive' started by alvinsay, Oct 29, 2012.

  1. alvinsay

    alvinsay

    Joined:
    Mar 17, 2011
    Posts:
    3
    Hi,

    Our game currently uses legacy animation system. We are considering to port our animation code to Mecanim. However, we can not find the alternative for legacy animation event.

    We use animation event to emit special effects like lightening or burst effect. By utilizing animation event, designer can easily specify the timing of emitting different kinds of effects by dragging the prefab of the effect and dropping it to the animation event editing dialog. We know we can use custom curves of Mecanim, but specifying different curves for hundreds of special effects seems not a good replacement of animation events.

    Any idea about replacing animation event for Mecanim?
    Thanks.
     
  2. UnLogick

    UnLogick

    Joined:
    Jun 11, 2011
    Posts:
    1,740
    Yes we have many ideas, but in 4.0 there wont be a clear alternative. We will add these at a later release. There are various ways you can bypass this, for instance using curves. But it may require some extra code and logic to make it work in every situation.
     
unityunity