Hello!
This is my first time I am using this library for check collisions between the player and obstacles. I followed what the documentation says to do to check collisions but it show this error message: HC/init.lua:105: attempt to call method 'bbox' (a nil value). I tried to find what caused the error, but I got no idea.
I discovered the problem: I used HC.collisions(player) with playeras a table instead using the shape created from HC.rectangle(). So the code must be like this: