Adding coefficient of restitution for bouncing ball

后端 未结 0 759
北恋
北恋 2021-02-06 06:45

I have the following relevant code for modelling the trajectory of a racquetball inside of a box:

while t<20:

    if ball.pos.x>wallR.pos.x-ball.radius:
           


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题