Problem with hitboxes

I ran into a problem: in the game, the size of the object can change, but the size of the hitbox must also change. How can this be done?

You need to destroy the existing physics bodies and recreate them. I’ve created a convenience module for handling this:

2 Likes

Thank you!