Making an input/output graph in the editor.

I feel a little dumb not knowing what to call this, but I’m really in the need of making a graph for a generator that would allow me to take an input (height) and then return an output (chance to spawn) but have multiple lines on the graph I can edit for multiple objects to generate.

Does that make sense?

So basically I want to make graphs like Unity has in its partical systems:

Trouble is, I don’t even know where I would start.

Could anyone offer a good jumping point? Like a tutorial, or some key words to google.

Thanks!

AnimationCurve?

–Eric

1 Like

Wouldn’t that only be for animations?

Nope, it’s a mathematical curve that you can use for whatever. In particular look at the Evaluate function. The thing you pointed out in the particle system is an AnimationCurve.

–Eric

4 Likes