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.

Drag or move object from appended scene

Home Forums Puzzles Drag or move object from appended scene

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #16022
    mexwann
    Customer

    Hi,
    After an “append scene” puzzle, I would like to be able to move all objects, including the objects from the appended scene, but I only can with the objects from the “original” scene.

    I only use “append scene” and “when dragged over/drag move” puzzles.

    Am i missing something?

    #16035

    I only use “append scene” and “when dragged over/drag move” puzzles.

    To get access via puzzles to objects from loaded scene at first you need to load them, but they now not loaded. Just place Append Scene Puzzle out of the When Click puzzle and run code, when the scene will loaded you can get acess to all objects in this scene and you can setup your logic for them. When you finish, just place Append Scene puzzle into When Clicked puzzle and when the scene will be loaded by click all logic with them will work.

    Co-founder and lead graphics specialist at Soft8Soft.

    #16036
    Anonymous
    Inactive

    this is also I think my issue (I try to acces loaded scenes) but I don’t understand what you mean with:”run code” after the append scene puzzle is out

    #16040

    ”run code”

    This button in Puzzles editor.

    Attachments:
    You must be logged in to view attached files.

    Co-founder and lead graphics specialist at Soft8Soft.

    #16043
    Anonymous
    Inactive

    oh, it is embarrassing, thank you :)

    #16151
    mexwann
    Customer

    @Mikhail thank you for your help. It is actually working this way.

    However, what I would like to do is to be able to drag any appended object. Goal is to be able to create a design interior app adding, removing and moving objects (furnitures).
    I could load, but not show at the beginning, all furnitures but I guess it could be quite heavy. So the idea would be to load first the scene, then the different furnitures. Just like in the load-unload puzzle example but with the ability to move them.

    My test is only append new object (here sphere) when click on a symbol (here, cube created in original scene), then move it in the room.

    #16157

    You need to use procedure and system of naming for each blend, gltf and objects inside of them. I made an example for you, but it will work only with the next release: we fixed some things to make it possible.

    Attachments:
    You must be logged in to view attached files.

    Co-founder and lead graphics specialist at Soft8Soft.

    #16177
    mexwann
    Customer

    Thanks a lot! I will check it and wait for next release.

    :bye:

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