Support to detect what state (railing etc) the player is in.