Gravity and smart collision