SAT
Today I could push forward with implementing the Separating Axis Theorem(SAT).
I will first implement the static version of it.
Then first test that bit completely.
After I know that it definitely works, only then I continue.
So far I have a fair bit in, it’s just extracting the points and axis I need to check from the tiles and entity collision volumes.
Though maybe I will replace GetCollisionShapeFromTile()
with just a lookup table.
As I think we will only need a predefined set of collision shapes for the tiles.