Graphics Programs Reference
In-Depth Information
I do not have enough red ink in my computer to highlight all of the attribute
functions for this Dynamic Component, but there are a couple of useful ones
that are worth noting. As previously mentioned, clicking with the Interact
tool on vehicles will hide them. If hidden geometries are visible, they can be
unhidden the same way. This is a surprisingly simple and very useful author-
ing “switch” trick. It does not matter if the Hidden attribute is entered manu-
ally or is the result of a formula, it will always equal either true (1 or greater)
or false (zero or less). A simple OnClick behavior will set that value to the
opposite of whatever it currently is. When using
OnClick behaviors, you are telling an attribute, and
not the attribute value, to do something. This is why
“Hidden” is inside double quotes.
The “NOT(Hidden)” trick is also very useful for reduc-
ing the size of “hidden” things. This trick was used
in the “Multiple DynaComp Vehicles” component
Search WWH ::




Custom Search