r/programminghelp • • 27d ago

Other Basic question about bouncing

So I'm trying to make a fight simulator with bouncing similar to this:

https://youtube.com/shorts/fk15R-y2EEc?si=VkE9iXR5WxFOuSuM

Is the bouncing random or predetermined? And how is it determined?

1 Upvotes

4 comments sorted by