Moving Forward When Switching Worlds

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

  1. l1t2g3

    l1t2g3 Boxer

    Joined:
    May 4, 2020
    Messages:
    24
    Likes Received:
    4
    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. l1t2g3

    l1t2g3 Boxer

    Joined:
    May 4, 2020
    Messages:
    24
    Likes Received:
    4
    Please look at the attached example above.
     
  3. l1t2g3

    l1t2g3 Boxer

    Joined:
    May 4, 2020
    Messages:
    24
    Likes Received:
    4
    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:
    244
    Likes Received:
    174
    maybe the camera was facing the opposite way in the second world
    just a thought
     
  5. Elite Games

    Elite Games Boxer

    Joined:
    Dec 18, 2019
    Messages:
    72
    Likes Received:
    33
    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