Refactored the physicObject class a bit in preparation for the new class and its problems.