User:Scheneklj/sandbox

Hitbox

A Hitbox is a term for an invisble area that is used for collision between two objects. Hitboxes are normally shapped in a square/rectangle shape which is normally found in 2D games, and a cube or rectangular prism as well as a sphere shape in 3D games. Hitboxes are normally mentioned in fighting games as well as Shooter games. There are three types of hitboxes being hitboxes, hurtboxes and collision boxes.

How do they work

The three types of hitboxs out there are Hitboxs, Hurtboxes and Collision boxes. All three of these "Boxes" work along side of each other to do different things in a game. Hitbox is an invisible area around a character that is where a character can take damage. When something with a hurtbox enters the hitbox it will do damage to the charcter or object. A hitbox is normally colored blue or green. Hurtbox is the area around a character that when it touches a hitbox it will do damage to that hitbox, so if you use a punch in a game that touches a chracters hitbox that character will then take the set amount of damage. A hurtbox is normally colored red. Collision box is the area around an character or object that when a object with a collision box hits another collision box or wall it will hit it and add physics to the object and not go through the object. These are normally colored green or blue opposite of Hitbox.

Examples

An example of these boxes working together nicely is in any fighter game. Lets say you do a basic punch attack, that attack will have a hurtbox that is around it so that when thoses pixels or polygons hit the other character's hitbox it registers as a hit. An example of a collision box working is if you shoot a rocket launcher in a shooter game, that rocket will sore at its target if it has no collision box around it and only has a hurtbox it will hurt the character but just fly right through that character and will just keep going, when you put the collision box on it the rocket when hitting a character will hit him and will not go through him.

Work cite

“How to E-Sports: Understanding the Hitbox Meme.” Review: Outlast 2 Walks the Line between Fear and Frustration | GameCrate, 8 May 2018, www.gamecrate.com/how-e-sports-understanding-hitbox-meme/16773.