O'Reilly logo

Vue™ 7 Beyond the Basics by Richard Schrand

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

An Affinity for EcoSystems

Another area of EcoSystem generation is using the Affinity controls. By setting a value to either repel or attract EcoSystem elements on one layer to another, you can add to the complexity of your scenes—thus adding that extra semblance of realism. In this section of the chapter, you will explore the Affinity controls and gain a better understanding of how they can be used in your Vue projects.

A Love/Hate Relationship

Working with Affinity is fairly straightforward. You have two EcoSystem layers. The upper-most layer will be affected by the layer underneath it. But if you place an EcoSystem above that upper layer, it will not be affected by the first EcoSystem layer, only the one directly underneath it. Figure 9.21 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required