Walking help

butterbeanbutterbean Member Posts: 4,315
edited November -1 in Working with GS (Mac)
What attribute do I change to make the actor walk only when I hit the left or right key so the actor doesn't slide like it's skating on ice?

Comments

  • KamazarKamazar Member Posts: 287
    These are two solutions. At least one should work.

    "If left key if up, change x-velocity to 0"

    or just put the "change x-velocity to 0" under the "otherwise" panel
  • JGary321JGary321 Member Posts: 1,246
    I just use the move command. My guys never "slide". They stop as soon as I let go.

    Actor recieves event key "left" is down.

    move direction 180
    speed 100
    move type additive (default)
    relative to actor (default)

    Also are you using the built in D-Pad? Or a custom button?

    What are you currently using to make them move?

    -JGary
  • butterbeanbutterbean Member Posts: 4,315
    I'm using the custom arrow keys I believe.. I"ll have to check when I get back from vacation :)
Sign In or Register to comment.