Hi, im an IT student in the last phase of school, and i have to do a a work in Unity as a project for my graduation exam and i have to link the project with more possibile subjects. I have it to my address subjects, and i want to connect it with Math too. My questions is. Unity use Integral for calculate Volume of 3D objects? Then, if not, how i can link my project to math?
Unity has built-in Math functions. But, for your purposes, you may find them too basic.
For integration, given that you have knowledge of mathematics and Unity, I would suggest using third-party libraries such as GNU Scientific Library, although, it’s C++ only. Because you’re limited to using C# only, there is a wrapper for that library. From what I saw, it includes numerical integration, so it could be a start. From integrating equations, you can calculate the volume of 3D objects. Import the library inside of Unity and you’re good to go.
Hope this helps.