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.

finding visible scene objects in csv list

Home Forums Puzzles finding visible scene objects in csv list

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #69820
    deedox
    Participant

    Hi.
    I’m trying to compare all objects withthe same name from my csv list and if that object is visible in verge I want to hide it..

    Not sure what I’m doing wrong but most of the time I’mhiding all of them or none.
    Thanks in advance!

    Attachments:
    You must be logged in to view attached files.
    #69822
    kdv
    Participant

    what I’m doing wrong

    You are comparing string values from price_table with the list of object names ID. It’s like comparing warm with soft…

    Actually, you may skip the first condition and ckeck visibility only. The is visible puzzle will return true only if an object exists in the scene.

    Puzzles and JS. 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 meaning at all.

    #69843
    deedox
    Participant

    Thank you.

    #69855
    deedox
    Participant

    Maybe you can help me further here. What I want is actually not hiding an object but get all visible objects from that csv list and put their names into an json object.

    Here is an example with an mirror, but instead of getting the proper visible object, I’m always getting the last object of my csv list.
    The print to console works.. This is actually how I want my json.

    • This reply was modified 3 months, 1 week ago by deedox.
    Attachments:
    You must be logged in to view attached files.
    #69866
    deedox
    Participant

    Solved, I just had to save the variable later. ;)

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