Collisions on moving objects

Thank you! It was actually that simple thanks!