ProtoFlux:Anchor Locomotion Data

From Resonite Wiki
Revision as of 06:32, 23 February 2024 by 989onan (talk | contribs) (Finally finish this page)
Anchor Locomotion Data
OnLocomotionUpdate
HasPrimary
HasSecondary
PrimaryAxis
SecondaryAxis
PrimaryAction
SecondaryAction
Anchor
null
Anchors

Anchor Locomotion Data is a ProtoFlux node that checks the button presses for someone in an anchor and returns the values

The values for Anchor Locomotion Data outputs will all be default unless read during the OnLocomotionUpdate (Call) impulse context.

Outputs

OnLocomotionUpdate (Call)

On locomotion update only fires if the user in the anchor is causing changes to any the outputs of this node compared to the previous value.

HasPrimary (bool)

Whether the user in the anchor has access to a joystick in their dominant hand

HasSecondary (bool)

Whether the user in the anchor has access to a joystick in their non dominant hand

PrimaryAxis (float2)

The anchored user's joystick direction on the dominant hand.

SecondaryAxis (float2)

The anchored user's joystick direction on the non dominant hand.

PrimaryAction (bool)

Whether the user in the anchor has pressed in their dominant hand joystick

SecondaryAction (bool)

Whether the user in the anchor has pressed in their non dominant hand joystick

Globals

Anchor (AvatarAnchor)

The anchor to check for a user to check for events on.

Examples