SetParticlesAngleRad

Description

Sets the range of direction in radians 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 radians. For example an angle of 0 would mean that all new particles follow exactly the direction specified earlier. An angle of 2*PI would mean that particles could appear travelling in any direction, and an angle of PI/2 would mean that particles would travel outward in a cone of PI/2 radians from their start position with the cone centered on the given direction.

Definition

SetParticlesAngleRad( ID, angle )

Parameters