API Design:
character:SetOrientRotationToMovement(bOrient)
A good example is the aim state: