Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: jumper on June 07, 2013, 07:58:19 PM
-
Hello, I am new to this playmaker.
I am working on this character buttons for shooting and running at the same time. I have both separate layer of just running, shot running, and idle. it seem to having a problem with when i press both (left shit) and (left click mouse) not playing my (shot running) animation.
is anyone can able to help me?
Thanks,
-
Hi,
Are you using Mecanim or the old animation system?
bye,
Jean
-
Hi Jane ~!
Thanks for reply~!
I think i am using old animation system, cuz i bought this soldier character from asset store and come with several animation. I have never use this Mecanim before, but i looked at this tutorial, seem pretty cool.
So i got to solved this running and running shooting animation problem. But i do have another problem with float variable number for character moving. What is the best setup for character animation? using Float or Int? (anyone got good suggestion?)
cuz i am using AWSD for moving character, and when i press AW or WD or AS or SD, going diagonal....my character float value is not working correctly after i release my key or when i press both key, it went back to running animation. But suppose to be normal walking.. until i press (left shift key and AW key) at the same time.. do the (Run animation).
So i have this float variable number problem, if anyone got good suggestion, plz let me know.
Thanks,
-
Hi,
Float is a way to go, but here It's likely more a problem of logic and value handling then whether it is an int or a float to begin with.
Your fsm may have issues with key detection, for example if you press a key, can you double check that you can still catch another key being pressed? you likely need one fsm per key probably.
bye,
Jean