Overview


RotatingOwnerComponent allows to rotate character towards desired rotation, which should be given to it by owning character through CCRotatingOwnerInterface.

It means that owning character must implement this interface and its function GetDesiredDirection.

This component can be used for example to rotate player towards movement input while playing root motion animation, or to rotate AI towards its target while attacking etc.