- Home /
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
Answer by IIMCMXCII · Mar 09, 2012 at 06:02 PM
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); } }
Answer by IIMCMXCII · Mar 09, 2012 at 05:45 PM
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!
Answer by citizen_rafiq · Oct 27, 2012 at 12:28 AM
unchecked looping
explositonTransformation.particleSystem.transform.position=this.transform.position;
explositionTransformation.particleSystem.Play();