ProtoFlux:Anchor Locomotion Data: Difference between revisions

From Resonite Wiki
Finally finish this page
fix category
 
Line 62: Line 62:
File:Protoflux_example_Anchor_Locomotion_Data.png|Example of an Anchor Locomotion Data node having it's value read via multiple writes to [[ProtoFlux:Data Model Store|Data Model Store]] </gallery>
File:Protoflux_example_Anchor_Locomotion_Data.png|Example of an Anchor Locomotion Data node having it's value read via multiple writes to [[ProtoFlux:Data Model Store|Data Model Store]] </gallery>


 
[[Category:ProtoFlux:Avatars]]
[[Category:ProtoFlux:Stubs]]

Latest revision as of 06:34, 23 February 2024

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