- Home /
Move and Animation don't go together (2D)
Hi, i'm having problems with moving my 2D Character and playing my animation on the same time! I searched the whole internet but i can't find the solution. Ask me if you need code or screenshots.
Well you should be able to do both as long as your movement and animation are not conflicting(they should not affect the same parameters).
$$anonymous$$ore info required.. Preferably the glitch sequence
This is my PlayerController (Sorry for no syntax) http://pastebin.com/CHsmJan$$anonymous$$. I got Idle and Walking with transitions
Answer by Dobbermann2 · Apr 07, 2015 at 01:04 PM
Ty all for help. i did it wrong. I had to turn something off ;)
Answer by Raynoko · Apr 07, 2015 at 09:16 AM
You shoud use Animator, not Animation component, and then i guess it will works correct! hope helpful.
Answer by BestSwter · Apr 07, 2015 at 01:06 PM
Make an empty object and put the character in it. The transform position will be applied on the empty object(parent) and animation on the character(child).