Jump to content
  • 0

Hitboxes and PlayerClasses


ArrivedHero

Question

Ok, two quick questions. How small (or large) can a hitbox be without the engine running into problems with collisions? Like, say you wanted to make a 1 by 1 projectile for a bullet, or several 4 by 4 hitbox for the torso of an enemy. Would that be possible without problems with collision detection? Maybe in ZScript, there is a way to add more vertices to the hitboxes?

 

Second is just a preference advice. If I were to have the player have multiple outward appearances, such as changing the sprite to match what kind of armor they are wearing; should I just stick to that one player class and try to work with the state machine, or have them morph into other classes to avoid any confusions and mishaps during development?

Share this post


Link to post

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...