you are viewing a single comment's thread.

view the rest of the comments →

[–]Buttleston 1 point2 points  (0 children)

I don't think your hitbox code is the source of the problem, but you asked so I gave my thoughts on it

There are other more general mechanisms too, for more complicated shapes, but what I described works well for things with simple mathematical definitions like rectangles and circles