Search Unity

runtime sprite swapping in animation possible with 4.3 2d?

Discussion in 'Animation' started by DarkMarmot, Nov 26, 2013.

  1. DarkMarmot

    DarkMarmot

    Joined:
    Nov 13, 2013
    Posts:
    22
    I've got some animations in which I'd like to vary the base sprites being animated, swapping out multiple versions, different weapons, clothers, etc. Is this possible using the animator? Any ideas would rock!

    Thanks,
    Scott
     
  2. ChairmanYang

    ChairmanYang

    Joined:
    Jan 20, 2013
    Posts:
    11
    I'd also be very interested in any advice on this topic. For example, I'd like to use the same animation for multiple sprite sheets. Thanks!
     
  3. Invertex

    Invertex

    Joined:
    Nov 7, 2013
    Posts:
    1,184
    Yes, since sprites can be directly assigned to an animation clip, you can use animations made up of other sprites in your Mecanim network. So just create the animations for your other bases, and set up your conditions for when those should be used in Mecanim.
     
  4. Tekksin

    Tekksin

    Joined:
    Oct 20, 2013
    Posts:
    32
    WHAT? =_= I always read these forums, and things are always answered with these strange explanations. Like any monkey could tell what you're saying, but nobody knows how to script it. And what on Earth is Mecanim? guess that's my next google search =_=
     
unityunity