Unity 3D Tests

Starting to look a bit more like snooker but the physics of the balls is not realistic. The cue is represented by a cube which can be rotated around the cueball and travels towards the cueball radially to strike it. The cue is constrained to the plane of the table so the balls may get raised up...

Second snooker test in Unity. The player controls the cue ball with the arrow buttons and knocks the black and red balls off the edge. One point for a red ball, seven points for the black and the score is reset to zero if the white goes over the edge.

This is a simple test to look at 1) a ball rolling and hitting a target and 2) the ball falling over the edge. Both events are recognized in the score (top-left). The next thing would be to get the physics of the ball hitting the target better and to have this as two balls so that the red ball...

27 Jun 2015