An interactive 3D mobile game built in Unity that teaches the physics of gravity, free fall, and air resistance through real-time experimentation. Drop objects from a mountain peak, adjust air resistance live, and watch physics explain itself.
| Zero Resistance | Air Resistance Active | Result Screen |
|---|---|---|
| All objects fall together | Heavier objects fall faster | Physics explained dynamically |
📸 Screenshots above show gameplay across different resistance settings
| Scenario | What Happens | Physics Concept |
|---|---|---|
| Air resistance = 0 | Dumbbell, feather & book land together | Gravity accelerates all masses equally |
| Air resistance > 0 | Dumbbell hits first, feather drifts last | Drag force depends on mass & surface area |
| Air resistance < 0 | Objects accelerate faster than gravity | Net force exceeds gravitational pull |
- 🎚️ Live air resistance slider — adjust from negative to positive values mid-simulation
- 🪶 3 objects with different masses — dumbbell, feather, and book
- 💬 Dynamic result system — contextual physics explanation after every drop
- 🔁 Replay & Reset — experiment repeatedly without restarting
- ➡️ Multi-level progression — Next button unlocks after completing a scenario
- 🏔️ Immersive 3D environment — realistic mountain and terrain setting
- 📱 Mobile-first UI — designed for portrait mode on Android/iOS
| Tool | Purpose |
|---|---|
| Unity 3D | Game engine & physics simulation |
| C# | Gameplay logic, physics calculations, UI interactions |
| TextMeshPro | In-game UI text & result messages |
| Unity Physics Engine | Real-time object fall & drag simulation |
| Git | Version control |
- Unity Hub installed
- Unity Editor version 2021.3 LTS or later (recommended)
- Android Build Support module (for mobile build)
1. Clone the repository
git clone https://github.com/fatima-104/free-fall-simulator.git
cd free-fall-simulator2. Open in Unity
- Open Unity Hub
- Click "Add project from disk"
- Select the cloned folder
- Open the project
3. Run in Editor
- In the Project window, navigate to: Assets → Scenes
- Open the main scene: FreeFallSimulator
- Press the ▶ Play button in the Unity toolbar
4. Build for Android (optional)
- Go to File → Build Settings
- Select Android → Switch Platform
- Click Build and Run
- Install the APK on your device
- Launch the simulation — three objects appear at the top of the mountain
- Adjust the slider — set air resistance (negative, zero, or positive)
- Press DROP — watch the objects fall in real time
- Read the result — a physics explanation appears based on the outcome
- Press REPLAY to try a different resistance value, or NEXT to progress
free-fall-simulator/
│
├── Assets/
│ ├── Scenes/ # Main game scene
│ ├── Scripts/ # C# gameplay & physics scripts
│ ├── Prefabs/ # Object prefabs (dumbbell, feather, book)
│ ├── UI/ # Canvas, buttons, slider components
│ └── Materials/ # 3D environment materials
│
├── Packages/ # Unity package dependencies
└── ProjectSettings/ # Unity project configuration
Rida Fatima Unity Game Developer | BS Information Technology — University of Gujrat
This project is open source and available under the MIT License.
Built with curiosity and C# — because physics is more fun when you can play with it.