Game Development Reference
In-Depth Information
There's moreā€¦
There is another thing we can do to improve the appearance of the generated birds. Since
we are expecting to look at them from either above or below, it makes sense to flatten the
shape of the emitter to be more of a plane. Let's revisit the Emitter Shape property and
make a box instead of a sphere, as shown in the following code:
[Box, -30.0, -1.0, -30.0, 30.0, 1.0, 30.0]
The numbers define the extremes of a box, that is, X min , Y min , Z min and X max , Y max , and
Z max . In other words, we have created a box that is 60 units wide and long and only 2 units
high.
Search WWH ::




Custom Search