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 we have a JS error if the gltf does not match visual_logic.js

Home Forums General Questions Can we have a JS error if the gltf does not match visual_logic.js

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #19271
    D3Pixel
    Customer

    Hi guys

    Is it possible to do a check between the visual_logic.js file and its expected gltf file at run time to avoid trying to run an updated script on an old gltf that does not have objects expected in it?

    Or at least throw console errors if selectors/clips are null when trying to perform operations.

    Cheers

    3D Animation and Web3D services - www.d3pixel.co.uk

    #19275

    Hi,

    We intentionally suppress any errors from Puzzles making them ignored silently if anything is wrong. You however can check values using logic puzzles.

    Chief 3D Verger | LinkedIn | Twitter

    #19286
    D3Pixel
    Customer

    Ok, maybe a [debug = true] puzzle during development could be considered.

    3D Animation and Web3D services - www.d3pixel.co.uk

    #19312

    We’ll think about it. Thanks for pointing this out!

    Chief 3D Verger | LinkedIn | Twitter

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