I asked Chat GPT how to make ball physics and this is what I got. I only tampered with the code a little bit for quality.
values and code were decided by Chat GPT.