GameSalad

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

indra.azizindra.aziz Posts: 38Member, PRO

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,399Member, PRO
    Accepted Answer

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

    Move behavior

    constrain motion linear velocity

Answers

  • indra.azizindra.aziz Posts: 38Member, PRO

    Thank you very much! This explains!

  • indra.azizindra.aziz Posts: 38Member, PRO

    Thank you for the explanation! Yes it makes a lot of sense now @Socks

Sign In or Register to comment.