Physics Simulation
Write a physics simulation using Ogre without the assistance of a physics engine (e.g. bullet). Chapter 7 of your text contains a section on Physics-based movement (pgs 148-153).
Requirements:
- Use appropriate formulas e.g. Force = mass * acceleration. Each formula should be implemented as a method or function.
- Physical constants, e.g. g = 9.81 m/s2, should be implemented as constants in your program.
- Include at least three objects in the simulation. One of them may be stationary.
- Your objects do not need to deform. For example, a bouncing ball flattens on one side when it collides with the ground. Your simulation does not have to do this.
- The simulation should be started by the user (e.g. mouse click, key strike).
- Beyond the starting event, you do not need to perform any additional user interaction. You may if you would like to.
- Submit a README file explaining your simulation.
Some suggested simulations: (you could do others)
- Bouncing balls (gravity and elastic collisions)
- Conservation of momentum (elastic or inelastic collisions)
- Gravitational motion (sun, planets, satellites)
- Rolling or sliding objects with friction.
- Pendulum motion.