Collision size
Collision size is a unit's internal size that cannot be passed through by other units. This allows units to block each other with their bodies. Most heroes have the same collision size, regardless of their graphical model. Phased status allows units to ignore collision size.
Mechanics[edit]
The collision sizes of units is not directly set by a number in their data. Instead, collision sizes are standardized for all units, with the use of bounds hull names.
The following hull sizes exist, corresponding to the following collision sizes (from largest to smallest)
Hull name | Size |
---|---|
DOTA_HULL_SIZE_BUILDING | 298 |
DOTA_HULL_SIZE_TOWER | 144 |
DOTA_HULL_SIZE_FILLER | 96 |
DOTA_HULL_SIZE_HUGE | 80 |
DOTA_HULL_SIZE_HERO | 24 |
DOTA_HULL_SIZE_REGULAR | 16 |
DOTA_HULL_SIZE_SMALL | 8 |
DOTA_HULL_SIZE_SMALLEST | 2 |
Collision size comparison[edit]
Heroes[edit]
Units[edit]
Buildings[edit]
Buildings | Collision size |
---|---|
Fountain, Melee Barracks, Ranged Barracks, Tier 1 Tower, Tier 2 Tower, Tier 3 Tower, Tier 4 Tower | 144 |
Ancient | 298 |
Effigy Building, Outpost | 96 |
Patch history[edit]
Patch
Description
- Reduced DOTA_HULL_SIZE_SMALLEST size value from 4 to 2.
- Added new collision size: DOTA_HULL_SIZE_SMALLEST (4)
|