[Solved] Detect if a unit is touching the ground?
Posted: 25 Nov 2012, 20:49
New to lua here. Is there a quick way to detect whether or not a non-flying unit is touching the ground or not? I.E. whether it's on the ground like it should be or if it's being tossed around. I'm currently working on a Unit Cannon for Zero-K, which picks up units (only ground units) and flings them accross the map, but I need my script to detect wether a unit is touching the ground or not.
Is there a quick Spring.XXXXXX() function for this?
Is there a quick Spring.XXXXXX() function for this?