Refactored object physics.