As an instance I’ve a personality controller on my participant that’s sometimes managed utilizing a script that reads human inputs and manipulates it utilizing these inputs. However what if I even have a scene in my sport through which an enemy momentarily takes management of the participant, throughout which human inputs needs to be ignored? Equally, what if the participant prompts a talent utilizing an enter, however then that talent’s logic takes management of the participant’s conduct for a given period of time? Perhaps a debugger desires to regulate an entity throughout testing; there are various prospects.
I’m confused on how I ought to mannequin these relationships in code, and am searching for some solutions.