Assignment 3

Collision System (24/30)


In the past few classes I have attemped to demonstrate what the System part of ECS looks like. There are many Systems we could build but for this project let's just do a simple Collision System.

Build two new classes CollisionComponent and CollisionSystem. The CollisionComponent contains data regarding the type of collision object is being used (sphere, AABB, plane, ...). The ComponentSystem will be tasked with job of doing the math behind collisions.

Extra: Create the code to automatically build an AABB around an Object.