I have this scene, and whenever the zombie touches my debug object, it should turn velocity to 0, stop walking animation , and start attack animation,
Not working (animation is stopped too): http://cypunkdb.net/t/phaser/tut0/nok.html
Working (but not what I want): if I turn velocity to anything but 0, i will start moving again, but i don't want this...
http://cypunkdb.net/t/phaser/tut0/ok.html
is this a bug, or a feature?
how could i stop the zombie movement, but continue the "attack" animation ?