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

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,745
    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.