How can i make a solid but jumpable cliff like in pokemon?

ForcingForcing Member Posts: 93
edited November -1 in Working with GS (Mac)
hello everyone, i need help:

how can i make a solid (-y) but jumpable (y) actor, i mean like in pokemon, where the player can jump over the cliff, when the position of the player is at +y but the position -y is solid and he can´t walk through or jump over!

Comments

  • InLikeFlynnInLikeFlynn Member Posts: 171
    I haven't played Pokemon, so I'm not sure if this answers your question. If you want players to pass one way and not the other, you could try making a collide rule on your player actor based on position.
    When all:
    Rule: if player.position.y < 100
    Collide: Bounce when colliding with actor of type (cliff)

    You might need to turn physics>restitution for both the cliff and player down to 0 if you just want to stop the player and not actually bounce off it.
  • ForcingForcing Member Posts: 93
    Thanks for the answer, but this wasn´t my question :D

    look to:


    skip to 2:50 - 3:00 and you´ll see the "cliff" is solid from position -y (under the cliff) how you can see, but when you skip the battle and look to 4:05 - 4:10 than you should see, that you can jump over the "cliff" when your position is +y (over the cliff)

    any idea?
Sign In or Register to comment.