Report as inappropriate.
Left-click to shoot the cue ball in that direction.
This scenario implements the ball and wall collisions reasonably well, to provide a basis for a pool game (at the moment, it's a bit of a toy). All the maths is explained in this post:
Feel free to take the code and make a finished game with it.
6055 views / 726 in the last 7 days
1 vote | 0 in the last 7 days
Visit the web page for this scenario.
To embed this scenario in a web page, copy the following HTML code:
Want to leave a comment? You must first log in.