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.

Retrieve objects size

Home Forums Puzzles Retrieve objects size

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #68313
    kuze
    Customer

    Hi all,
    I’m asking if there is a way to get a selected object size (width, length, height) using puzzles.

    Have you any advice?

    thank you

    #68314
    kdv
    Participant

    https://www.soft8soft.com/docs/manual/en/puzzles/Objects.html#get_object_dimension

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

    #68315
    kuze
    Customer

    Thank you. I found it on the user manual but I couldn’t find it in puzzle object menu.
    Maybe it depends on Verge3D app version I’m using?

    I’m working with 3.9.0 version.

    • This reply was modified 1 year ago by kuze.
    #68317
    kdv
    Participant

    in 3.9.0 this puzzle doesn’t exist yet :unsure:

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

    #70898
    Brameister
    Participant

    https://www.soft8soft.com/docs/manual/en/puzzles/Objects.html#get_object_dimension

    I’m trying to use this puzzle, but it doesn’t work with morphed objects. The manual says “The puzzle has some limitations. For morphed objects, it returns maximum dimensions the object can be morphed to”.

    Is there any way to get dynamic measurements for objects as they are morphed? An example would be to get the current width of an object as it is changed by the user (set morph factor puzzle).

    #70912
    xeon
    Customer

    You can….but you need to save the value at the time of the last shape key input and then recall that variable when the request to know its size.

    The Shape key values are 0 to 1…you will need to remap those to your start dimension and end dimenison and then use that value.

    Xeon
    Route 66 Digital
    Interactive Solutions - https://www.r66d.com
    Tutorials - https://www.xeons3dlab.com

    #70939
    Brameister
    Participant

    Awesome insight, got it to work now. Thanks for the help Xeon!

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