ParticleEmitter.rndAngularVelocity Manual     Reference     Scripting  
Scripting > Runtime Classes > ParticleEmitter
ParticleEmitter.rndAngularVelocity

var rndAngularVelocity : float

Description

A random angular velocity modifier for new particles.

A random value in the range of [-rndAngularVelocity, rndAngularVelocity] will be applied to all new particles, in addition to ParticleEmitter.angularVelocity See Also: angularVelocity

JavaScripts
particleEmitter.rndAngularVelocity = 10;

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
void Awake() {
particleEmitter.rndAngularVelocity = 10;
}
}

import UnityEngine
import System.Collections

class example(MonoBehaviour):

def Awake():
particleEmitter.rndAngularVelocity = 10