Hey guys,
I'm trying to create a physics system that displays dashed lines to preview the ball's path before shooting. When the path hits a wall (left or right), I want it to reflect realistically, and the dashed lines should show that reflection.
When I shoot the ball, I want the velocityX and velocityY to match this predicted path exactly.
I've looked around for examples but haven’t had any luck so far.
Any help would be greatly appreciated!
I've attached an image example for reference.
Thanks!