horizon flyer:
does the rule only apply if buildings, people or animals are within 500ft
not buildings but "structures" - so fences, telegraph poles, masts etc all count.
yes people, but not animals
And none of this applies "when necessary for landing or taking off" so you can be as close as you like to persons, vessels, vehicles or structures when you're doing that.