jrhetf4xb
Member
- Reaction score
- 12
It has been bugging me for a while but why don't most projectile systems offer 3d collision detection as well? The way I imagine it is like a simple check with GetUnitFlyHeight() (of course combined with a normal XY group enum), something like:
Or maybe I'm missing something?
Code:
if (RAbsBJ(GetUnitFlyHeight(collidedTarget) - GetUnitFlyHeight(projectile)) <= PROJECTILE_RADIUS) then
//... all that stuff
Or maybe I'm missing something?