9 years ago by FreddiePotato
I was wondering if it were possible to check for a collision at a given point. For example, specify a position and check to see if that position overlaps with an entity. Something like:
Any help would be appreciated. Thank you.
if (collisionPoint(this.pos.x+16, this.pos.y-16)){ //do a thing }
Any help would be appreciated. Thank you.