It is similar to a collision problem. Try to build your model with it and we can discuss! :D