AGK for Pascal
TAgkParticleEmitter.Angle Property

The range of direction in degrees that a particle can choose when it first starts.

property Angle: Single;

This takes the base direction set with SetDirection and adjusts it by a random amount between 0 and Angle/2 degrees. For example an angle of 0 would mean that all new particles follow exactly the direction specified earlier. An angle of 360 would mean that particles could appear travelling in any direction, and an angle of 90 would mean that particles would travel outward in a cone of 90 degrees from their start position with the cone centered on the given direction.

Copyright (c) 2012. All rights reserved.