Install Asset
Install via Godot
To maintain one source of truth, Godot Asset Library is just a mirror of the old asset library so you can download directly on Godot via the integrated asset library browser






Quick Information

2D and 3D Components to manage health, damage, and healing
Godot
Health,
HitBoxes,
HurtBoxes, and
HitScans
Health
Health
component tracks an entity's health and emits signals for various health realted changes.
Hurtbox
HurtBox2D
and HurtBox3D
components require a Collision Shape
so it can be detected and is assigned a
Health
component to apply damage and healing when hit.
Hitbox
HitBox2D
and HitBox3D
components require a Collision Shape
to detect collisions with a
HurtBox2D
or
HurtBox3D
to apply DAMAGE
or HEAL
.
HitScan
HitScan2D
and HitScan3D
components extend RayCast2D
and RayCast3D
to detect collisions with a
HurtBox2D
or
HurtBox3D
to apply DAMAGE
or HEAL
.
Live Example Demonstration
itch.io - godot-health-hitbox-hurtbox-hitscan
Installation
Asset Library Installation
- Open the
AssetLib
tab in the Godot Editor. - Search for
Health
,HitBox
, orHurtBox
in the search bar. - Click the download button next to the Health, HitBoxes, and HurtBoxes plugin.
- Once the installation is complete, go to
Project
->Project Settings
->Plugins
. - Find the
Health, HitBoxes, and HurtBoxes
plugin in the list and check the box to enable it.
Usage
- Add a
Health
node to a Node that needs health (ie.CharacterBody2D
orStaticBody3D
) - Add a
HurtBox2D
node with aCollisionShape2D
to the same Node. - Set the
HurtBox2D
collision layer. HitBox2D
orHitScan2D
- Create a projectile or melee weapon with a
HitBox2D
and set the collision mask to the same layer as theHurtBox2D
collision layer. This will automatically apply damage and healing. - Create a gun with a
HitScan2D
extending from the barrel and set the collision mask to the same layer as theHurtBox2D
collision layer.fire()
needs to be called on theHitScan2D
to apply damage and healing.
- Create a projectile or melee weapon with a
Issues
Submit issues to the Github Issues Page
2D and 3D Components to manage health, damage, and healing
Reviews
Quick Information

2D and 3D Components to manage health, damage, and healing