How to keep cloth from touching other ojects

I have been using Blender for about a year and am now working with the cloth simulator. I have a scene set up like a curtain on a stage but in this case the curtains have pillars behind them. The are somewhat close. How do I keep the plane after it is simulated from going through the pillars? I have Blender 2.79c. I understand subdividing the plane and pinning and how to move the pins to create folds in the curtain. But even after reading the manual I am still drawing a blank on how to avoid objects with the curtain. I have watched several tutorials on simulating curtains but none show how to make the curtains avoid objects. At least none that I am aware of.

Thanks

Moved from “General Forums > Blender and CG Discussions” to “Support > Particles and Physics Simulations”