Entity partly goes under blocks
I made a custom entity, and it works normally. But it partly goes under block it stands on, and in bedrock because of it entity turns dark. I tried making a custom hitbox and it didnt work. Is there a way to solve it?