Improved collision engine