GameSalad

Why use constrain attribute motion linear X instead of move command?

Hey everyone,

I watched a tutorial on making a platformer game Danger Droid, I think it was from @jamie_c. In the tutorial, Jamie used constrain attribute motion linear X instead of move command to move the player. Why is that and how are they different from each other?

Thank you!

Best Answers

  • IceboxIcebox Posts: 1,244
    Accepted Answer

    In platform games, move doesnt work well with gravity. Here is an example

    Move behavior

    constrain motion linear velocity

Answers

Sign In or Register to comment.