Obstacle simulation visualization

I already provided a solution about this particular subject last month. Not sure if you saw it.