Show Predicted Physics Path

My idea involves a ball or other geometric object moving through a zero gravity confined space (i.e. a box) and bouncing off the walls and other stationary objects placed within the box for a specified number seconds.  During the aiming event I want to be able to show predictions (simply a dotted line or other aiming mechanism) along a portion of the distance the object will travel to include initial direction and then deflections off of other stationary objects and walls in the scene.  Is something like that possible?  If so, what are some ways to approach it?

https://docs.coronalabs.com/tutorial/games/predictTrajectory/index.html

https://docs.coronalabs.com/tutorial/games/predictTrajectory/index.html