Install Locomotion Modules is a ProtoFlux node that takes a slot with a type from the ILocomotionModule interface on it. The locomotion will also need a character controller and a few other components, which should be auto generated when a type from the ILocomotionModule interface component is added.
When called, this node will add the locomotion to the user in question.
Inputs
* (Call)
Call this to install the locomotion(s) to the target user.
ModulesRoot (Slot)
The module slot itself, or a slot with multiple locomotions under it to install to the target user. each slot to install needs a type from the ILocomotionModule interface on it.
TargetUser (User)
The user to install the provided ModulesRoot (Slot) to.
ClearExisting (bool)
Removes all the existing locomotions from the user and replace with the provided ModulesRoot (Slot) locomotion module(s).
Outputs
Next (Continuation)
Sends an impulse after * (Call) was called and the locomotion(s) are installed to the provided user.
Examples
-
Using install locomotion modules to add a climb avatar to the local user.