Building 3D Virtual Environments
HW5 - Scripting - "Billiards - No Pockets!"
The long gray cue has a cylinder sensor. Click on it and move
your mouse horizontally to rotate it. "After that" click on any ball and that
ball will move in the direction of cue with reducing velocity, bounce against
other balls and the edges of the table.
[Main WRL, File1 - Click for full screen (good)]
[Ball Proto WRL, File2]
[Cue WRL, File3]
[Board WRL, File4]