Walking While pressing a key -
07-31-2010, 04:40 PM
hi ..... my problem is that y want an object (people) to walk while the key (up) is being pressed. it goes fine until i stop pressing that key so alice popup an error screen with animation problem... does anybody know how to solve this ??
EDIT: i uploaded an example of my problem....... when you are pressing the up key everything is fine but when you want it to stop by stop pressing the up key there comes the error please help me how to fix this
Well, This is a common problem and what you need to do is make a while key is pressed event and it put the walk method in the during part. That should fix your problems.
i well i did that since the beginning........ the thing is that the object walks but when y stop pressing the key it should stop walking but alice give me an animation error instead
Solution that worked for me -
09-11-2010, 12:03 PM
Hey! I had the same error as you. So i looked for it and figured it out. The error is produced by the simultaneous movement of the arms and the legs. If you want to avoid the error do this:
1.-Go to the walking char methods.
2.-Choose the method "walk(how far)"
3.-There you should see the methods that make the char walk. Erase the "charactername".upperbody method.
4.-Try again. It should not give you an error now.
Well i also had the same problem but i had a button make a gun do a shooting animation but i don't think i can do the same thing to fix it. since i cant hold it i have to press the button multiple times to get it to do an auto like animation...