Drive (LogiX node)

From Neos Wiki
Revision as of 20:16, 16 September 2020 by R3C0D3r (talk | contribs)
Jump to navigation Jump to search
Other languages:
English • ‎日本語 • ‎한국어

The Drive value node will start driving the referenced DriveTarget value with the input Source value when an impulse is received at StartDrive. It will stop driving the DriveTarget if an impulse is received at StopDriving.


Inputs & Outputs

Inputs
Color Label Type
StartDrive Impulse
StopDrive Impulse
Source (dummy)
Outputs
Color Label Type
DriveTarget IField<T>
OnStartDrive Impulse
OnStopDrive Impulse
OnHook Impulse
IsDriving Boolean
HookedValue (dummy)

Driving

Driving duplicates a value to the location your Driving. It only does this operation each frame.

Usage

The Source input and HookedValue outputs start with an unset dummy type, the node will recast to the appropriate type when either of these, or the DriveTarget, is set. If the value referenced by TargetValue is being driven by another source, including another Drive node, when an impulse is received at StartDrive the previous drive will be overridden by the new drive Source. Driven values cannot be written to, however, if a Drive node has set up an active drive on the DriveTarget and an attempt is made to write to that value, an impulse is fired from OnHook and the HookedValue output provides the value which would have been written to the target (available for the duration of the impulse chain from OnHook). OnStartDrive and OnStopDrive fire impulses when a drive is successfully started or stopped as a result of impulses at StartDrive or StopDrive respectively.

Examples

Node Menu

Actions
Back -- ++ Drive Drive Playback Tween Write
Write Latch Write Ref Write Ref Latch