Open sharmnten opened 5 months ago
can you enable debug to show the hitboxes (F1 key or debug.inspect = true
)
this happens because of the bounding box for the hitbox being the size of the sprite
if you would like to customize it then you can change the size using the the area component API https://kaplayjs.com/reference/#area
The problem I'm always frustrated when in my game, the hit-boxes of various game objects are slightly to large, resulting in the player being able to float off corners.
The solution I would like Improved hit boxes and collision recognition in kaplay.
Additional context