Gravity Shift Progress - Monday 10/11
As I mentioned, I was tasked with the opportunity to define what a "Physics Engine" would need, and how we would define it. I came up with this here:
The physics engine is built with 3 levels.
Top Level - Gravity Direction Control
---Attributes
* Gravity Direction
---Functionality
* Change Gravity Direction
Second Level - Physics Environment
---Attributes
* Gravity Magnitude
* Terminal Speed
* Gravity Erosion
* Directional Magnitudes
Third Level - Physics Objects
---Attributes
* Gravity Force
* Additional Force
* Velocity
* Position
---Functionality
* Update itself
* Load itself
* Collision Detection
---With other objects
---With the world
* Enforce Terminal Velocity
This is actually all subject to change(and will, most likely)
As a test of the theory, I rewrote some of the engine to reflect this model, and it works pretty well. Most changes that will need to be made is going to be initiated by what the rest of the group decides on their definitions(things like the level definitions and such).