ScriptReference/ParticleSystem.MinMaxCurve #403
Replies: 1 comment
-
|
I've been trying to create a Timeline playable to manipulate this, the particle system that's setup required 'Random between two Constants', once getting the StartLifeTime updating via the timeline working I found that the ConstantMax value was always double of what I wanted it to be. An hour or so later I found out constant and constantMax are not treated separately, so doing the following was setting the value twice. curveA.constant += curveB.constant * weight;
curveA.constantMin += curveB.constantMin * weight;
curveA.constantMax += curveB.constantMax * weight; |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
ScriptReference/ParticleSystem.MinMaxCurve
https://docs.unity3d.com/ScriptReference/ParticleSystem.MinMaxCurve.html
Beta Was this translation helpful? Give feedback.
All reactions