Martin,
Perfect! Thanks!
Frank.
--- Martin Costabel <cos...@wa...> wrote:
> Frank Noschese wrote:
> []
> > if (ball.pos.y <= ball.radius):
>
> Make this
>
> if (ball.pos.y <= ball.radius and ball.velocity.y < 0):
>
> Otherwise, if the ball doesn't manage to get back above the floor in one
> time step, it will stay down.
>
> --
> Martin
>
>
|