SetParticlesAngle

Description

Sets the range of direction in degrees that a particle can choose when it first starts. This takes the base direction set with SetParticlesDirection 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.

Definition

SetParticlesAngle( ID, angle )

Parameters