Unity Tip: Animation Curve Graphs

Recently I found out about a clever and helpful option when you need to visualize Unity data in a graph-like form in the editor.

Vincent Taylor
Oct 14 · 2 min read

Animation Curves:

However, they can also be repurposed for a variety of uses outside of animation. For example, I made a dynamic flower mesh using Animation Curves for the length/width/height not long ago.

Animation Curves as a graph:

An Animation Curve graph being populated at runtime.
A graph showing the height of a foot during a step from point A to point B.

Creating the graph:

The above example in practice

Now you can see that any numeric data can be added to this to make a convenient graph of points. This is a great and easy way to get a visual representation of your game data.

Nerd For Tech

From Confusion to Clarification

Nerd For Tech

NFT is an Educational Media House. Our mission is to bring the invaluable knowledge and experiences of experts from all over the world to the novice. To know more about us, visit https://www.nerdfortech.org/.

Vincent Taylor

Written by

Unity game developer / C# Programmer / Gamer. Australian (Tasmanian) indie games developer since 8yo (18 years). Currently looking for games industry employment

Nerd For Tech

NFT is an Educational Media House. Our mission is to bring the invaluable knowledge and experiences of experts from all over the world to the novice. To know more about us, visit https://www.nerdfortech.org/.