made the physics work with the new abstract class