In the previous post, we were able to get entities moving around the screen, simply by updating it’s spatial position in increments. However, everything is just drawn without regard to other entities on the screen. In order to make things collide, we need to add a Physics component to our entities, so we can take advantage of all the great functionality included with Playcraft. The physics component requires a physics system to be added to the layer, so we’ll start with updating our GameplayLayer to include it. I added a debug flag to mine, just because I think it looks cool while I’m developing. It comes in handy when things are rotating.