gamestate integrated with physics