https://github.com/genxium/DelayNoMoreUnity/blob/5f221988a6c0a69defa12d475ebf5d4d63ae0091/shared/Battle_geometry.cs#L1573