Documentation: HitboxComponent

From Noita Wiki
Jump to navigation Jump to search
Name Type Initial Value Example Range Description
Members
is_player bool false
is_enemy bool true
is_item bool false
aabb_min_x float -5 [-15, 15]
aabb_max_x float 5 [-15, 15]
aabb_min_y float -5 [-15, 15]
aabb_max_y float 5 [-15, 15]
damage_multiplier float 1 All damage from hits to this hitbox is multiplied with this value before applying it.
Custom data types
offset vec2 (0, 0)
Privates
dead bool false