We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Update data after scene update

Home Forums Puzzles Update data after scene update

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #27202
    David Duperron
    Customer

    Hi!
    I have a project where I want to switch between several scenes (several .gltf files) which have the same structure (same collections, object types, etc…).
    I manage to load the scenes correctly, but It seems that I cannot updates my lists of available objects correctly…
    For example at the first loading I load scene01.gltf with several objects in the Collection01. I can manipulate them correctly.
    When I switch to scene02.gltf, the scene loads correctly, it has a Collection01 inside, but I cannot access its objects… I only see objects which have the same names as in the scene01.gltf/Collection01. Any new object (not present in scene01.gltf/Collection01) is not accessible.
    First is it clear? And if so, is there a way to update the collections/groups/objects upon a new scene loading?
    Thanks!

    David

    #27203

    Hi David,

    Dropdowns are not updated when a new scene is loaded. But you could use Text puzzles with collection names rather than dropdown selectors.

    Chief 3D Verger | LinkedIn | Twitter

    #27204
    David Duperron
    Customer

    Ok, and doing so, I can force the refreshing of the objects included in a specific collection upon the scene loading completion?

    #27206

    I guess you need to unload the first scene just before loading new scene. Otherwise you’ll have 2 collections with the same name.

    Chief 3D Verger | LinkedIn | Twitter

    #27210
    David Duperron
    Customer

    Thanks for your answer! but I cannot make it work… I tried unloading the current scene and loading the new one… Just sent you an email!

    #27214

    I checked out your project you sent by email. Could you please try the following:

    place the “when hovered” puzzle after a scene is loaded, using the “when loaded do” slot of the “load scene” puzzle

    Chief 3D Verger | LinkedIn | Twitter

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.