Something about playerhitbox

Hi I am totally new to it so I want to know something about playerhitbox
1 what actually is playerhitbox
2 Use of playerhitbox
3 what if I don’t use playerhitbox and directly use my character
etc…

Hello @abc, so here I am to answer your questions.

1 what actually is playerhitbox

playerhitbox is a sprite which is an actual character. A sprite is placed in its place and playerhitbox is hidden, changing the animation of sprite and making us think like the sprite is actual character

2 Use of playerhitbox

I don’t know much about this but people say, it gives us more flexibility. Like, if you are not holding anything, your playerhitbox is smaller. But now, if you are holding a sword for example, which is a separate object, then you will increase the size of your playerhitbox.

3 what if I don’t use playerhitbox and directly use my character

That’s totally fine. Even I don’t use a playerhitbox. But if you are making a complex game with lots of mechanisms, then I suggest you use playerhitbox. As I mentioned earlier, it gives you more flexibility. You can build a complex game without playerhitbox too, but there will be a heck of a lot to do.

etc…

If you have more questions, ask again, there will be the community to answer it.

1 Like

I think it’s fine , Thanks :grinning: