Dynamically stable control of articulated crowds