If we cannot get the actual Z value, use a unit with a negative Z value and let it attack a unit floating. Use the time until the missile hits to calculate the Z value.
Scan the whole map and return Z values for all cells to store them in an array.
These Z values can be used to fix the camera height.
If we cannot get the actual Z value, use a unit with a negative Z value and let it attack a unit floating. Use the time until the missile hits to calculate the Z value.
Scan the whole map and return Z values for all cells to store them in an array.
These Z values can be used to fix the camera height.