Hi all,
I am an artist/animator who just start learning / experimenting with playmaker to make a 2D platformer game.
however, got stuck in making a 2d character controller. My goal is pretty simple at this stage: just wanna achieve left/right movement by hitting "D" and "A".
In the controller FSM attached to the character, basically, i used "Get Axis" and "Set velocity 2D"; This works perfectly well with the movement at the beginning, but
(
HERE IS THE PROBLEM: )i found the character will sometimes stop/freeze (not moving forward) when holding down the keys; in order to make it move forward again, i need to move it backward first.... but later the character will freeze again...
I've spend hrs to try to figure it out what's wrong with the FSM with my limited understanding with playmaker and coding, but i got no clues and luck so far. One interesting thing i found when playing with the rigidbody 2d setting of the character game object is that
IF i UNCHECKED "Fixed Angle" and hit "play" again, the character would have NO problems with the movement!! It moves smoothly but, instead, the character, this time, will rotate based on the movement direction under the effect of gravity...
Did anyone have this problem before?? Do i miss some crucial actions on the FSM?
If you guys've made a character controller before, would u mind sharing the rigging on FSM with me? I really wanna solve this issue.
Thanks in advance!