Bouncing Ball. Making it slow down at peak of height
Use ‘real’ physics for that. ball have parameters acceleration a(ax,ay,az) [m/s^2]… this is sum of all forces driving ball divided by its mass velocity v(vx,vy,vz) [m/s]… actual speed = integration of acceleration v += a * dt position p(x,y,z) [m]… actual position = integration of velocity p += v * dt radius r [m] mass … Read more