Hide And Unhide

Discussion in 'Buildbox 3.0' started by visionarymonkey, Apr 20, 2020.

  1. visionarymonkey

    visionarymonkey Boxer

    Joined:
    Apr 16, 2018
    Messages:
    91
    Likes Received:
    32
    Is there a way to hide and unhide an object. I know we can spawn and remove, but spawned objects don't stay in the world if you leave it and come back.
     
  2. Sean Buildbox

    Sean Buildbox Administrator Staff Member

    Joined:
    Sep 24, 2015
    Messages:
    636
    Likes Received:
    720
    Check out the Set Visible node ;)
     

    Attached Files:

  3. visionarymonkey

    visionarymonkey Boxer

    Joined:
    Apr 16, 2018
    Messages:
    91
    Likes Received:
    32
    Hey Sean, I don't have that node in 3.2 version of buildbox.
     
  4. Jackazoid

    Jackazoid Avid Boxer

    Joined:
    Sep 7, 2017
    Messages:
    127
    Likes Received:
    49
    Its in 3.2.1
     
    visionarymonkey likes this.
  5. visionarymonkey

    visionarymonkey Boxer

    Joined:
    Apr 16, 2018
    Messages:
    91
    Likes Received:
    32
    Awesome, downloaded the beta and its there!
     
    Sean Buildbox and Jackazoid like this.
  6. visionarymonkey

    visionarymonkey Boxer

    Joined:
    Apr 16, 2018
    Messages:
    91
    Likes Received:
    32
    In a related question. is there a way to set an object as not visible as its initial state other than connecting it to the start node? The problem Im running into is if I say that the object is not visible at the start whenever I restart a world that object is set back to not visible. I want to be able to set an object as visible and then when I return to that world still have it be visible.
     
  7. visionarymonkey

    visionarymonkey Boxer

    Joined:
    Apr 16, 2018
    Messages:
    91
    Likes Received:
    32
    I guess the problem or solution is bigger than I had thought. It does not look like Buildbox remembers the state of visibility when moving between worlds. It always resets when you start a world. Every-time I think Ive come up with a solution for changing my character start position in a FPS 3d world it falls apart.
     
  8. Sean Buildbox

    Sean Buildbox Administrator Staff Member

    Joined:
    Sep 24, 2015
    Messages:
    636
    Likes Received:
    720
    This is possible with Variable Save/Load nodes. Save visibility state together with setting it, Load and set it when the world is reloaded
     

Share This Page