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