Added basic collision constraint.