Well they were able to fall into a hole in the episode it showed up in.
So it at least had some sort of simple collision/environment interaction, which the Discovery one also showed.
The Discovery holodeck wasn't very sophisticated, the Klingons barely showed any intelligence they just ran at the weapons fire, and they just vanished instead of falling over.
The only environment we saw in Discovery was a ship corridor and some rooms, nothing very complicated, no running water, no wind, nothing physics intensive.
Though the one in TAS didn't have the treadmill effect like the TNG holodecks, you could walk up and touch the room's wall.
Edit: Here's a quote from Ted Sullivan, the co-writer of Lathe
From:
https://trekmovie.com/2017/10/31/in...scoverys-not-holodeck-lorcas-damage-and-more/