Closed mattrdowney closed 5 years ago
Removing field makes sense, Block at first glance might seem weird.
Principle idea: blocks will eventually just be collisions, Fields were already obsolete
Design specifications:
PlanetariaCache needs to get rid of LogError case when PlanetariaCollider isn't found in cache (instead, add it at runtime).
PlanetariaCollider needs a Shape as input (only hard question - do I combine colliders into one? I argue yes but that adds layered complexity).
Concavity can be checked through Shape to do optimization for 1) single circles/spheres 2) convex objects.
No real distinction between field and block (which means more flexible and agnostic code in the future).
Ignoring bugs from Platformer example project (inevitable), this is done as of edbb47ded77957f1519f88a4afdc88142d2e267e
Removing field makes sense, Block at first glance might seem weird.
Principle idea: blocks will eventually just be collisions, Fields were already obsolete
Design specifications:
PlanetariaCache needs to get rid of LogError case when PlanetariaCollider isn't found in cache (instead, add it at runtime).
PlanetariaCollider needs a Shape as input (only hard question - do I combine colliders into one? I argue yes but that adds layered complexity).
Concavity can be checked through Shape to do optimization for 1) single circles/spheres 2) convex objects.
No real distinction between field and block (which means more flexible and agnostic code in the future).