Hitbox: Difference between revisions

71 bytes added ,  8 July 2020
m
moved a message where they would actually see it
m (→‎Collision hitboxes: fix bad way to do things :angry:)
m (moved a message where they would actually see it)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
''If you typed [[Hurtbox]], you may be looking for the [[Interaction Type|interaction type]] called [[Interaction Type#Hurtbox 1 & 2|Hurtbox 1]] or [[Interaction Type#Hurtbox 1 & 2|Hurtbox 2]].''
[[File:Star Hitbox.jpg|thumb|right|300px|Hitbox of a [[Power Star]]]]
{{stub}}
{{stub}}


A '''hitbox''' is an invisible shape commonly used in video games for real-time collision detection. It is often a rectangle or circle (in 2D games) or cuboid, cylinder, or sphere (in 3D) that is attached to and follows a point on an [[object]]. They are used for collision detection.
A '''hitbox''' is an invisible shape commonly used in video games for real-time collision detection. It is often a rectangle or circle (in 2D games) or cuboid, cylinder, or sphere (in 3D) that is attached to and follows a point on an [[object]]. They are used for collision detection.
==Hurtboxes==
==Hurtboxes==
''If you typed [[Hurtbox]], you may be looking for the [[Interaction Type|interaction type]] called [[Interaction Type#Hurtbox 1 & 2|Hurtbox 1]] or [[Interaction Type#Hurtbox 1 & 2|Hurtbox 2]].''
'''Hurtboxes''' are a specific type of hitbox that hurt Mario when he touches them. Many different enemies in the game have hurtboxes.
'''Hurtboxes''' are a specific type of hitbox that hurt Mario when he touches them. Many different enemies in the game have hurtboxes.
===List===
===List===
Line 19: Line 22:


==Collision hitboxes==
==Collision hitboxes==
Many hitboxes push Mario away, such as those of Bob-ombs and [[Chuckya]]ss. These are necessary for [[Quick Release]] and are also the basis for the [[Bloated Bob-omb]] and [[Handsfree Teleported Bob-omb]] glitches, which work because the Bob-omb's size is large enough that its hitbox pushes Mario back, but it moves with him because he's holding it.
Many hitboxes push Mario away, such as those of Bob-ombs and [[Chuckya]]s. These are necessary for [[Quick Release]] and are also the basis for the [[Bloated Bob-omb]] and [[Handsfree Teleported Bob-omb]] glitches, which work because the Bob-omb's size is large enough that its hitbox pushes Mario back, but it moves with him because he's holding it.


==Clone hitboxes==
==Clone hitboxes==
139

edits