Zum Hauptinhalt gehen

Suche

How do I build and work with *sets* of objects?

  • Object01

    I had the idea for a "Set" gadget. Conceptually, it represents the results of a scene query.

    It would have a few key features:
    * A logical set can be connected to any 'object' port (the 'crosshair' port) found in in other gadgets.
    * It offers tweaks (or a microchip-like design surface) that let you define some query criteria, e.g. "all objects with tag," "all objects with label", "all objects that are visible AND collidable".
    * A logical set can be configured to "feed" its results to any object port(s) it's connected to, e.g. "In order," "Randomly," or according to some other logic.

    Functionally, you could use Dreams' existing "Group" construct to help work with collections. For example, maybe the Set gadget is something you attach to a group that causes any gadget targeting that group to treat it as a set rather than a single object, sort of like how attaching a Microchip implicitly uses its target as the source for many of its operations while still letting the object be used normally.

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.