3D Theory - Snooker - Cushion

Coordinates

The detection and response to collisions with the cushion and the pockets is much easier to calculate if the coordinate system is alligned with the table and hence the cushions.

coordinates

Within this coordinate system the position of each ball is given by the position of its centre of mass.

Boundary

The centre cannot get within the balls radius (r) of the cushion therfore the effective boundary, for the centre of mass of the ball, is an imaginary line a distance of r inside the real cushon.

boundary

This is mostly 2D except for some effects like backspin or miscuing, etc. Therefore it might allow a lot of simplification if we model in 2D but with a few additional parameters to allow for these effects.

snooker

 


metadata block
see also:

 

Correspondence about this page

Book Shop - Further reading.

Where I can, I have put links to Amazon for books that are relevant to the subject, click on the appropriate country flag to get more details of the book or to buy it from them.

cover Developing Games in Java

other games programming books

Commercial Software Shop

Where I can, I have put links to Amazon for commercial software, not directly related to this site, but related to the subject being discussed, click on the appropriate country flag to get more details of the software or to buy it from them.

cover Dark Basic Professional Edition - It is better to get this professional edition

cover This is a version of basic designed for building games, for example to rotate a cube you might do the following:
make object cube 1,100
for x=1 to 360
rotate object 1,x,x,0
next x

cover Game Programming with Darkbasic - book for above software

other commercial software

This site may have errors. Don't use for critical systems.

Copyright (c) 1998-2017 Martin John Baker - All rights reserved - privacy policy.