Invisible Walls

Discussion in 'How Can I...?' started by ChrisB, Oct 13, 2018.

  1. ChrisB

    ChrisB Boxer

    Joined:
    Oct 8, 2018
    Messages:
    8
    Likes Received:
    1
    I have a character I'm trying to keep on the bottom half of the screen. I thought I'd use a platform with it's opacity set to 0 to keep the player where I want them and that works but I want physics objects to pass through the invisible platform.

    In other engines I'd use layers to tell the physics object to just not collide with the platform layer. Is there a method to do that in Buildbox?

    Or can I clamp the players Y axis somehow?
     
  2. ChrisB

    ChrisB Boxer

    Joined:
    Oct 8, 2018
    Messages:
    8
    Likes Received:
    1
    Also, I'm using a single screen setup. Not scrolling.
     
  3. JustBraden

    JustBraden Boxer

    Joined:
    Apr 16, 2018
    Messages:
    78
    Likes Received:
    40
    You can use the gameframe to prevent the player from moving out of a certain area. Just make sure the walls of the gameframe are yellow.

    Hope this helps!
     
  4. ChrisB

    ChrisB Boxer

    Joined:
    Oct 8, 2018
    Messages:
    8
    Likes Received:
    1
    It does. Thanks!
     
    JustBraden likes this.

Share This Page