RotateUnitTowards

RotateUnitTowards(<-partUID <-pos <-maxDegrees)

Description

Rotates a unit containing partUID towards the world position pos. The unit will not rotate more than maxDegrees.

Examples