Recent content by CiElBi

  1. C

    Ball Momentum After Paddle Collision

    Hmm, the ball would be something like a ball used in table tennis, and the paddle to have the same friction as a table tennis bat does. Currently, the code does run do that the ball bounces back without any changes to the velocity other than inverting the numbers, but that is a very predictable...
  2. C

    Ball Momentum After Paddle Collision

    I am currently trying to program a simple game in which a ball bounces of a paddle to hit blocks, and the game ends when all the blocks are broken. However, I know that when the paddle is moving in one direction, when the ball collides with the moving paddle, the ball should bounce of with a...
Back
Top