Browse Source

Tweaked split tracer trail again, which is a little bit closer to the proper effect now.

readme
Nico de Poel 5 years ago
parent
commit
01a36906a9
  1. 5
      Assets/Scripts/Support/ParticleTrailController.cs

5
Assets/Scripts/Support/ParticleTrailController.cs

@ -59,7 +59,10 @@ public class ParticleTrailController : MonoBehaviour
var velocityOverLifetime = effect.velocityOverLifetime; var velocityOverLifetime = effect.velocityOverLifetime;
velocityOverLifetime.enabled = true; velocityOverLifetime.enabled = true;
velocityOverLifetime.radial = new ParticleSystem.MinMaxCurve(-30, 30);
velocityOverLifetime.space = ParticleSystemSimulationSpace.Local;
velocityOverLifetime.x = new ParticleSystem.MinMaxCurve(-30, 30);
velocityOverLifetime.y = new ParticleSystem.MinMaxCurve(0, 0);
velocityOverLifetime.z = new ParticleSystem.MinMaxCurve(30, -30);
break; break;
} }
case ParticleTrail.SlightBlood: case ParticleTrail.SlightBlood:

Loading…
Cancel
Save