physics.js updated with collision