TriKri
- 72
- 0
Hi, I'm currently taking a C++ course where we are going to make a project, we are 6 people in our group. We have decided to make a kind of puzzle game, where the goal is to move an object (maybe a ball?) through a room, avoiding obstacles and eventually reaching a goal somewhere in the room, using the things that are in the room; among others there will be fans, which in turn can be turned on and off.
However, I'm not really sure how to simulate the air flow caused by fans. Is it possible to simulate the air flow in real time (this is only going to be a 2D game), and in that case, what model should be used (or which can be used)? Or should rather some kind of mathematical function be used, which depends on the position in the room? It would be good if the air close to the walls didn't go "through" the walls. How would you have done this?
-Kristofer
However, I'm not really sure how to simulate the air flow caused by fans. Is it possible to simulate the air flow in real time (this is only going to be a 2D game), and in that case, what model should be used (or which can be used)? Or should rather some kind of mathematical function be used, which depends on the position in the room? It would be good if the air close to the walls didn't go "through" the walls. How would you have done this?
-Kristofer