1 (edited by mojao 2014-04-21 22:37:08)

Topic: Tips:Puppet2D for UFE(Source ver only!)

Hello,everyone. I found a way to work 2D character with UFE.
My way, You need "Puppet2D".

1.Set up rigged character with Puppet2D.
2.Set up Character with UFE(Hitbox and Moves too).
    I recommend set Animation Type is "mecanim".
    There is notis, "Avatar" in Character is need to set "none".
    If set anything in avatar , your character will odd move.

It is the same way with 3d model up to this point.
Your character almost work already, but there is some things to Do to Flip character.

3.Next time, open "ControlScript",and serch"standardYRotation"  and comment out with all line it used.
4.And when you use Automirror, comment out"myMoveSetScript.SetMecanimMirror"too.
   ("Invert HitBox"is probably unnecessary,sorry i did not test)

when finish this step , you can Flip Your character with turn on "Flip" in Puppet2D  component.
Then, you edit script mirroring with Puppet2D's Flip value, your 2D character will work perfectly !
I hope that it would be helpful for someone . And thanks to Mr.MMind!

One point: in sprite animation , i recommend "Blending Dulation" ( character window->Move sets) set to 0.
                  you change sprite scale or flip bone betwee other animation, animation Blend cause odd move.

Share

Thumbs up +4 Thumbs down