added constrained ball physics