CodeBase - Snooker / Pool / Billiards Physics

Return to the CodeBase listing

Category: Math / Physics

Version: 1.0

0
0

Information

Uploaded: 28th Jan 2004 15:59

Modified: 1st Jan 1970 01:00

Author:  Hamish McHaggis

Summary

Shows how to do realistic collision between billiard balls.

Full Description

Uses triganometry to bounce and speed up and slow down the balls as they fly around the table. Also works with the balls in close range like in a break. Turn the variable "numSteps" up if you find the balls dancing around each other (this would happen if you turned the speed up too much).

Comments

No comments yet.