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

JavaScript
particleEmitter.rndAngularVelocity = 10;

using UnityEngine;
using System.Collections;

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

import UnityEngine
import System.Collections

class example(MonoBehaviour):

def Example():
particleEmitter.rndAngularVelocity = 10