hittables
Hittables are objects in games and simulations that can be struck by attacks or impacts. They register hits via collision or damage events and respond with effects such as taking damage, breaking, or triggering animations. Not all objects are hittable; some are decorative or purely decorative or ephemeral and do not participate in combat or physics interactions.
Typical properties of hittables include a hitbox or collision shape, health or durability, and a damage response.
Examples span many genres: enemies and allies, destructible environmental objects such as barrels or walls, doors,
Implementation considerations include performance, precision of hitboxes, and synchronization in multiplayer. Visual and audio feedback such