Object Connection Layers. Is There A General Method?

Discussion in 'How Can I...?' started by Mr Goodcat, Apr 10, 2018.

  1. Mr Goodcat

    Mr Goodcat Boxer

    Joined:
    Jun 10, 2017
    Messages:
    98
    Likes Received:
    28
    Hi all. I’ve connected multiple objects but can’t seem to figure out how to get one of the objects layered (a spawned) underneath the other connected objects when it is spawning.
    Even if I lower this object in the local asset tree on the left of the screen it still spawns objects on top.

    Is there a way to stop these spawned objects from appearing on top of the other connected objects?

    Thanks.
     
    Guilty Spark likes this.
  2. Mr Goodcat

    Mr Goodcat Boxer

    Joined:
    Jun 10, 2017
    Messages:
    98
    Likes Received:
    28
    I have discovered that this was working until i updated Buildbox to the most recent update. Possibly to do with grouping of the linked objects. This has messed up my game, great!
     
    Guilty Spark likes this.
  3. david gianotti

    david gianotti Boxer

    Joined:
    Jan 18, 2017
    Messages:
    9
    Likes Received:
    5
    Yeah, I've just come back to this and with the BB Update I can no longer use the layering hack that I mentioned to you in my original post on the topic. Frustrating.
     
    Mr Goodcat likes this.
  4. david gianotti

    david gianotti Boxer

    Joined:
    Jan 18, 2017
    Messages:
    9
    Likes Received:
    5
    OK, I have a solution...

    1. Connect the child spawner to the parent object.
    2. Ensure the spawner is below the parent object.
    3. Duplicate the parent object and relocate it to the top most layer of the game play.
    4. Connect the duplicate to the original parent, make it a decoration and set it's opacity to zero. Ensure its co-ordinates match the original parents co-ordinates.

    Don't ask me how, but it works.
     
    Mr Goodcat likes this.
  5. david gianotti

    david gianotti Boxer

    Joined:
    Jan 18, 2017
    Messages:
    9
    Likes Received:
    5
    That last point 4 is quite vital to get right - the invisible duplicate of the original parent needs to be the grandparent item in the family heirarchy.
     
    Mr Goodcat likes this.
  6. Mr Goodcat

    Mr Goodcat Boxer

    Joined:
    Jun 10, 2017
    Messages:
    98
    Likes Received:
    28
    Nice I will check this out

    Thanks
     

Share This Page