Refactored physics from Dude into Physics_component.