I think (if you wanted to be completely accurate)that after the ball bounces, you would assign the box's vector the value of the ball's initial vector (from before the bounce), only with a lesser factor (because in real physics, you would be transferring some of the ball's energy to the box, but not all of it). Then you would slow the box down according to whatever friction value you give it.
If you want some good realistic bouncing behavior like this without having to deal with a lot of the math, I would seriously consider using the physics engine.
Last edited by MrCode; 08/01/08 07:19.