Curving the ball - with spin friction between ball and the cloth
First of all, thank you! Secondly, I don't have physics paper in hand how to implement this, but there must be one somewhere. I will try to search for one.
If I make a shot from a high angle with side spin it should curve the ball.
Edit I also noticed that there is no way to choose the angle of the stick, so it is probably intentional. It is always perpendicular to the table I think.
I also notice that often the cue is left spinning with a side spin almost motionless, suggesting there is no spin friction between the balls and the cloth, which would make the ball to curve.
Here is the motionless spin example: https://scoreboard-tailuge.vercel.app/api/replay/92 it might still be within the physics but it feels implausible.
(I notice that physics calculation curves the ball only when it hits an cushion or other ball, not during its motion.)
Thanks. I think in billiards the curve of the ball is mostly cause by backspin and topspin. The sidespin only really acts at the cushions. Here is an example of a curving ball caused by backspin:
https://scoreboard-tailuge.vercel.app/api/replay/91
You are correct that you cannot adjust the angle of the cue upwards, so we cannot model masse shots but the physics engine supports it, I would just need to add the ability in the UI.
Plenty of physics papers in the README.md file for you to check the maths.
Sounds great that the physics engine already supports it! I remember playing Jimmy White Snooker on Amiga and swerving the ball the most fun I had with the game:
https://www.youtube.com/watch?v=jqoLOs_tp_Q
It even had trick shot mode I think
Ha, Amiga graphics still look better than this game.
Hi great project, any help about how implement angle of cue also i see no gravity on ball ? if i add angle in cue.hit ball go underground or fly away if i add in physics.cueToSpin i have some curve result but not very convincing ?