From 01a36906a9bb6341bbe7d2e646c66f6249850b2e Mon Sep 17 00:00:00 2001 From: Nico de Poel Date: Fri, 6 Aug 2021 16:52:11 +0200 Subject: [PATCH] Tweaked split tracer trail again, which is a little bit closer to the proper effect now. --- Assets/Scripts/Support/ParticleTrailController.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Assets/Scripts/Support/ParticleTrailController.cs b/Assets/Scripts/Support/ParticleTrailController.cs index 028890f..33c08f2 100644 --- a/Assets/Scripts/Support/ParticleTrailController.cs +++ b/Assets/Scripts/Support/ParticleTrailController.cs @@ -59,7 +59,10 @@ public class ParticleTrailController : MonoBehaviour var velocityOverLifetime = effect.velocityOverLifetime; 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; } case ParticleTrail.SlightBlood: