The code:
A form of collision involving a larger number of points between surfaces.
I tried to hit the ball perfectly, right in the center, so to check whether the white ball would bounce back, but failed – the closest I could do was 0.1^\circ.
By the way, there is an error in line 462.
Hi @PavelBoytchev …
Thank You for the observations… I will try to correct them!
I thought… when near aligned…
If I beat at the above place of the white ball it goes ahead…
If I beat at the below place of the white ball it goes back…
If I beat at the middle of the white ball it stops ( depending the force of the beat)…
Than I decide to stop the white ball when near aligned.
Now with some changes…
Less code and ball touch detection (similar to raycasting’s intersect). ![]()