ConstraintRotationToMovement constructor
Creates a new constraint the aligns a nodes rotation to its movement
vector. A baseRotation
and dampening
can optionally be set.
Implementation
ConstraintRotationToMovement({this.baseRotation: 0.0, this.dampening});