I want to write a program that allows me to simulate the effect of wind on a decorated 3d/2d tree standing outdoors (rocking ornaments and decorations, falling balls, the user can decorate tree etc.). The program should allow to determine the parameters of the tree, the selection and placement of ornaments and the specification of wind parameters (wind way, average force, gusts, etc.) Does anyone know what libraries or tools I could use I have heard about unity, does anyone have any suggestions, that unity will be useful in this project?
Sure, I don’t see why you couldn’t make that in Unity.
This program will be written to pass the subject in college and everything can not be created in the program must contain code written in c #, is it possible to write part of the program in the code?
I don’t exactly understand that question.
So, to answer generally, yes you can write & use C# code (scripts) in Unity
Yes, with those scripts you can “do” things in Unity.
Anything is possible. Whether it’s able to be done within the time constraints and skill limits of the developer is a completely different thing. Do you know how to work with C#? If not do you at least have any prior programming experience? Do you know how to work with Unity? If not have you worked with game engines before?
After all you won’t just be building your application. You’re going to have to learn Unity too.
You could easily use a lot of time just trying to understand Unity.
In any case I would start by restricting things to 2D - Unity comes with decent 2D physics that can do all you are asking for and will require C# to use but you should be able to set the tree up visually in the Unity editor with components in C# you make to describe desired behaviour.
You’d be using Sprites and Physics2D for this. Expect to spend a couple of months learning the process if you can’t already code and haven’t done this sort of thing before. Ideally more time will be needed plus tutorial materials.
Check the Learn link at the top of this website.
So in unity I can not add during the program eg balls or decorations that will react to the wind during the program?
I have one month to wrtite this program and i search library to done this
Is that what you got from the responses people wrote? :S
Yes, you can do that in Unity (as in it’s possible in Unity*).
ok thanks
Sure, good luck with your project…