Particle system (Shuriken)

Hi

im trying to learn more about particle system but most of tutorials is about particle system pre shuriken.

I cant find any information where is “One Shoot” and “Autodestruct” , “Tangent Velocity” options.

Options from tutorial Beginner B23 – Particle Systems

Where they are, how can i use it ?
Or maybe i can use old Particle System ??

My Unity ver is: 3.5.0f5

regards
letmeknowit

4 Answers

4

I’m actually new at this, but hopefully this helps.

One Shoot = turn “Looping” off

Autodestruct =

`#pragma strict

function Start () {
}

function Update () {
if (!particleSystem.IsAlive()){
Destroy (this.gameObject);
}
}`

I’m actually new at this stuff, but hopefully this helps.


One Shoot = turn off Looping


Autodestuct = create a new Javascript, and attach this to your particle

#pragma strict
function Start () {
}
function Update () {
	if (!particleSystem.IsAlive()){
		Destroy (this.gameObject);    
	}
}

Tangent Velocity = I think you can get the same effect if you mess around with Shape, which is in between “Emission” and “Velocity over Lifetime”, as well as messing around with the Start Speed


Good luck!

  1. unchecked looping
  2. explositonTransformation.particleSystem.transform.position=this.transform.position;
  3. explositionTransformation.particleSystem.Play();

Check this answer.