ConstraintRotationToNodeRotation constructor
ConstraintRotationToNodeRotation({})
Creates a new constraint that copies a node's rotation, optionally
with a baseRotation
added and using dampening
.
Implementation
ConstraintRotationToNodeRotation({
required this.targetNode,
this.baseRotation = 0.0,
this.dampening,
});