The Go To Rotation test enables a smooth transition in the rotational component of a particle, so that the particle can gradually rotate to a specific orientation over a specific period. An example of its usage would be with falling leaves, which spin chaotically as they fall, but land on a flat side rather than an edge. The test aspect lets you direct the particle to a new event when the transition period ends.
To set a target orientation, place the Go To Rotation test before an orientation-type operator (Rotation or a Script operator if it defines the rotation channel) in the same event. In this situation, the Go To Rotation test can grab the particle rotational component before the orientation-type operator overwrites it. The Go To Rotation operator modifies the particle orientation and spinning in the post-evaluation cycle. For an example, see the procedure below.
Example: To make falling particles land smoothly, face up:
This procedure assumes a basic knowledge of Particle Flow usage.
This reduces the number of particles and slows them down, making it easier to see what's going on.
This gives the particles random spinning behavior as they fall.
This allows each particle to fall and tumble for 15 frames before Go To Rotation takes effect.
The Go To Rotation test will use this as the final orientation for the particles.
This stops the particles at the end of the animation.
The particles tumble chaotically as they fall for about 30 frames, and then come to a smooth stop, facing up.
The user interface appears in the parameters panel, on the right side of the Particle View dialog.
Determines how Particle Flow applies the specified timing, defined by the Time and Variation values. Default=Event Duration.
The possible options are:
To obtain the actual time to the target orientation for each particle, the system multiplies the Variation value by a random number between -1.0 and 1.0, and then adds the result to the Duration value. For example, if Duration=60 and Variation=20, then the time to target orientation for each particle would be between 40 and 80 frames.
When you use an orientation-type operator with Go To Rotation, this setting lets you determine whether the test sets the target orientation on a one-time or ongoing basis.
For example, when using a Rotation operator set to an orientation matrix other than Speed Space Follow, the Go To Rotation operator would acquire the target orientation only once, and then use it as its goal.
For example, if you use the test with a Rotation operator set to Speed Space Follow, the test will adjust the particle rotation constantly to aim at the changing final rotation.
Defines the angular velocity for each particle when it reaches the target orientation.
For a smooth transition to the target orientation, set to 0.0.
To obtain the final angular velocity for each particle, the system multiplies the Variation value by a random number between -1.0 and 1.0, and then adds the result to the Spin Rate value. For example, if Spin Rate=6.0 and Variation=1.0, then the final angular velocity for each particle would be between 5.0 and 7.0 degrees per second.
When set to 0.0, the test produces a linear interpolation between the initial and final spin rate, and when set to 100.0, the final spin rate is achieved earlier. For the smoothest approach to the target orientation, set Spin Rate and Variation to 0.0, and Ease In to 100.0.
Even with Spin Rate spinner set to 0.0, we recommend that you keep this checkbox on to avoid slow spinning at the end, due to computational averaging and marginal errors.
The Uniqueness setting enables randomization of the Variation options.