ProtoFlux:Nearest User Hand

From Resonite Wiki
Nearest User Hand
Reference
Slot
IgnoreUser
User
IgnoreAFK
Distance
GetLeft
Chirality
GetRight
Avatars

Nearest User Hand is a protoflux node that returns the closest user hand to a slot and the hand's user, or closest to the root if not provided a slot. This will also ignore the user provided to IgnoreUser (User).

Inputs

Reference (Slot)

The slot which to use as a point to find the closest hand to.

IgnoreUser (User)

The user to ignore when looking for the nearest hand.

IgnoreAFK (bool)

Will not return a hand position from a user that is not currently focused into the world.

GetLeft (bool)

Whether to get the left hand if closest, true by default.

GetRight (bool)

Whether to get the right hand if closest, true by default.


Outputs

Slot

The slot of the hand when found.

User (User)

The user of the hand that was found.

Distance (float)

How far away the found hand was.

Chirality

The side of the hand that was found. Left or Right or -1.


Examples