Fixed  physics engine

Ask me hpw to set it up