STATE_group_rotate_to_match_direction
The same as STATE_group_rotate_to_match_polygon() only that uses a direction instead of a reference polygon.