Moving Forward When Switching Worlds

Discussion in 'Level Design' started by LtgGames, Jun 6, 2020.

  1. LtgGames

    LtgGames Avid Boxer

    Joined:
    May 4, 2020
    Messages:
    126
    Likes Received:
    32
    Okay - this is giving me headache. I have made a door (yellow) in my world nr 1, that will transport my character to world 2. But when the character arrives in world 2... he moves forward automaticly. The physics is the same in world 1 and 2.... so what might be wrong??

    Look:

     
    Last edited: Jun 7, 2020
  2. LtgGames

    LtgGames Avid Boxer

    Joined:
    May 4, 2020
    Messages:
    126
    Likes Received:
    32
    Please look at the attached example above.
     
  3. LtgGames

    LtgGames Avid Boxer

    Joined:
    May 4, 2020
    Messages:
    126
    Likes Received:
    32
    Okay - the response here is overwhelming :D But I "solved" it by ... STARTING ALL OVER. So it remains a mystery why the character moves when jumping to a new world. I have a feeling that there is something wrong with the advanced platform-brainbox, because when starting all over, I skipped using brainbox, and made the movement manually inside node-map....
     
  4. Tars Tarkas

    Tars Tarkas Avid Boxer

    Joined:
    Jul 17, 2018
    Messages:
    303
    Likes Received:
    228
    maybe the camera was facing the opposite way in the second world
    just a thought
     
  5. Elite Games

    Elite Games Avid Boxer

    Joined:
    Dec 18, 2019
    Messages:
    184
    Likes Received:
    84
    Make log for position in update method and see in which direction your character is moving. Also you can try to set velocity to 0 if it collides with door.
     

Share This Page