I’m currently building an educational app, and I’m a complete beginner at Unity so I just wanted to know if what I want to do is possible, and if so, where to even begin.
I want to allow users to graph their own data in unity–as in, they input a number, and that point is created and displayed on a graph. They would only need to do this for about 3 points.
Thanks!
Short answer: Yes.
Longer Answer:
Well, I’ll first say it’s definitely possible in Unity, but as for how, it really depends on how you want to go about rendering it. One thing you’ll definitely need is Mathf.
Mathf is used for all sorts of mathematical calculations in Unity, and due to the nature of your app, it sounds like you’ll be needing quite a bit of it.
So Mathf can probably generate whatever data you need, but depending on how you want to render it depends on the specific code you’ll need. Remember, Unity has a huge community, and almost everything you want to do has probably been tried in some form by someone else, and if they ran into issues, there’s probably an answer for it somewhere.
The trick is to break down problems, for example, instead of directly searching for making a graph (in terms of googling, asking specific questions on here is obviously fine), you can instead break that down into “creating graphics in unity” and “getting world coordinates in unity” and then combine those 2 questions to create a script that can render a set of points at a specific set of coordinates generated by the Mathf Function above.
So hopefully something from that helps, if not, just watch the Youtube video, that should help =P