Dota 2 Workshop Tools/Scripting/API/Global.CalcDistanceBetweenEntityOBB
< Dota 2 Workshop Tools | Scripting | API
Jump to navigation
Jump to search
Function Description
float CalcDistanceBetweenEntityOBB(handle entity, handle otherEntity)
Compute the distance between two entity OBB.
- Example
--some code here
Parameters
| Type | Name | Description |
|---|---|---|
| handle | entity | No Description Set |
| handle | otherEntity | No Description Set |
Returns
float - A negative return value indicates an input error. A return value of zero indicates that the OBBs are overlapping