How can I check wether DoomGuy is standing on something?

So far I've been working with GetActorZ()-GetActorFloorZ , but I'm afraid this will fail with 3d floors and with thing-bridges. If posible, I would also like to be able to know wether DoomGuy is standing on an enemy.