# SetParticlesRotationRange

## Description

Sets the range of rotation in radians that a particle can have during its life. When a particle is created it starts at angle 0 and chooses and random rotation rate between angle1 and angle2. The particle will then rotate at that chosen rate for its entire life. Use negative values for counter-clockwise rotation and positive for clockwise rotation.

## Definition

SetParticlesRotationRange( ID, angle1, angle2 )

void agk::SetParticlesRotationRange( UINT ID, float angle1, float angle2 )

## Parameters

- ID - The ID of the emitter to modify.
- angle1 - The minimum angle of the range in degrees per second.
- angle2 - The maximum angle of the range in degrees per second.