Post edit history
B688084 3 on SailAway (Bots)
Before | After | ||
---|---|---|---|
1 | Unfortunately provided link to getCollisionVolume is outdated, no such function exists for native AI in modern engine (same as getMinAirBasePower, getRefuelTime, getMaxFuel). Have to rely on unreliable position and height. | 1 | Unfortunately provided link to getCollisionVolume is outdated, no such function exists for native AI in modern engine (same as getMinAirBasePower, getRefuelTime, getMaxFuel). Have to rely on unreliable position and height. |
2 | isSubmerged = (midpos.y + unit.height/2 - unit.waterline) < 0 |