diff --git a/docs/tasks/core.todo b/docs/tasks/core.todo index 391fe9e..bc7dbbf 100644 --- a/docs/tasks/core.todo +++ b/docs/tasks/core.todo @@ -38,6 +38,7 @@ Core: ✔ Read the window size and position on shutdown and write these to the state file @done (2/8/2022, 4:39:37 PM) Physics: + ☐ Look into moving to Box2D v3 when it comes out: https://box2d.org/posts/2023/01/starting-box2d-3.0/ @critical ☐ Joint Component to allow parent/child entities to both use the physics system @high ☐ Come up with a way to wrap Box2D into an API @low ✔ Research Box2D as a possible physics library @done (10/27/2021, 7:40:44 PM) diff --git a/src/scripting/internal_scripts/physics_api.wren b/src/scripting/internal_scripts/physics_api.wren new file mode 100644 index 0000000..89929be --- /dev/null +++ b/src/scripting/internal_scripts/physics_api.wren @@ -0,0 +1,10 @@ +/****************************************************************************** +* File - physics_api.wren +* Author - Joey Pollack +* Date - 2023/01/12 (y/m/d) +* Mod Date - 2023/01/12 (y/m/d) +* Description - Expose and wrap needed parts of the Box2D physics system. +******************************************************************************/ + +import "components" for RigidBodyComponent, CollisionComponent +