Worked example
Track one normal change per perpendicular wall
A smooth sphere moves on a smooth level floor near two perpendicular walls. Distances of its centre from the corresponding contact lines are in x and in y. Its initial signed velocity components are in SI units. Restitution is with the x-contact line and with the y-contact line. Give which contact occurs first and both times measured from the start.
The candidate times without impact are for the x-contact line and for the y-contact line.
The first is the x contact. Reset its normal velocity using restitution. The other velocity component is unchanged until its own contact.
The second contact is still at from the original start, because the first impulse does not change the component towards the other wall.