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.

can the gltf model be added mouse event

Home Forums Puzzles can the gltf model be added mouse event

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #23147
    wlhm1984
    Participant

    how to add the gltf model mouse event while the gltf model is used “append scene” load to the scene.

    #23148

    Hi,

    You need to insert a when clicked puzzle in the when loaded do slot of the append scene puzzle.

    You should also use a Text puzzle rather than a selector puzzle in order to specify the name of your object.

    Chief 3D Verger | LinkedIn | Twitter

    #23157
    wlhm1984
    Participant

    thanks for your reply,but i can not understand how to do ,i give you a photo.

    #23183

    you need a when clicked puzzle, and use your object name in the text field, not the path

    Chief 3D Verger | LinkedIn | Twitter

    #23188
    wlhm1984
    Participant

    thanks for your reply,it is ok,i want to append the same gltf model several times,how to give them different name.

    #23197

    you can load a gltf file once, and then use the clone puzzle to make copies
    https://www.soft8soft.com/docs/manual/en/puzzles/Objects.html#clone

    Chief 3D Verger | LinkedIn | Twitter

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