8

208 Chapter 11: Space Warps and Particle Systems
Uniqueness group
The Uniqueness sett ing enables randomization of
the test value variation.
Seed—Specifies a randomization value.
New—Calculates a new seed using a r andomization
formula.
Collision Test
Particle View (page 2– 121)
> Click Collision in an eve nt or
add Collision to the particle system and then select it.
Collision tests for particles that collide with one or
more specified Deflector space warps. It can also
test whether a particle has slowed down or sped
up after one or more collisions, has collided more
than once, and even whether it will collide with a
deflector in a specified number of f rames.
The Collision test supports all deflector space
warps except the DynaFlect deflectors:
POmniFlect (page 2–74)
SOmniFlect (page 2–80)
UOmniFlect (page 2–81)
SDeflector (page 2 –83)
UDeflector (page 2–85)
Deflector (page 2–86)
Tip: When testing for collisions with multiple
deflectors, for best results, place all the deflectors
in a single Collision test. This tests for collisions
with all the deflectors simultaneously, and helps
avoid possible missed collisions.
See also
Collision Spaw n Test (page 2–211)
Procedure
Ex ample: To test for pa r ti cles slowing down a f ter one
or more collisions:
In the real world, particles b ouncing repeated ly
against a surface lose kinetic energy at each
collision, and slow down gradually. Rather than
testing for a specific number of bounces, you can
use the Is Slow After Collision(s) to test whether
particle speed has sunk below a specific level.
1. Start or reset 3ds Max. Set the animation length
to 500 frames.
2. Add a Gravity space warp and a Deflector space
warp. Decrease the deflector’s Bounce setting
below 1.0, and increase the Variation and Chaos
valuesabove0.0.SetthedeflectorsWidthand
Length to 500.
3. Create a default Particle Flow system. Position
the emitter directly above the deflector.
4. Add a
Force operator (page 2–200)
to the end
of Event 01 and add the Gravity space warp to
the Force operator.
5. Create a new event w ith a
Display operator
(page 2–198)
,andchangethedisplaytypetoa
different choice than is used in Event 01.
6. Add a Collision test to Event 01, below the
Forceoperator,andwireittothenewevent.
7. In the Collision test settings, add the deflector.
Choose Is Slow After Collision(s), and set
Speed Min=100 (assuming you’re using the
default initial speed of 300).
8. Play the animation. You might need to adjust
one or more settings before seeing the expected
behav ior.
After several bounces, the par ticles change
in appearance and move steadily away from
the deflec tor, indicating that they’ve entered
the second event. Of course, you can set any
behavior you like in this event.