Created page with "{{#Invoke:ProtoFlux|GenerateUI |Name=Nearest User Foot |Category=Avatars |Inputs= [ {"Name":"Reference", "Type":"Slot"}, {"Name":"IgnoreUser", "Type":"User"}, {"Name":"IgnoreAFK", "Type":"bool"}, {"Name":"GetLeft", "Type":"bool"}, {"Name":"GetRight", "Type":"bool"} ] |Outputs= [ {"Name":"Slot", "Type":"Slot"}, {"Name":"User", "Type":"User"}, {"Name":"Distance", "Type":"float"}, {"Name":"Chirality", "Type":"Chirality"} ] |}} Nearest User Foot is a protoflux node that ret..." |
Fix category |
||
Line 67: | Line 67: | ||
</gallery> | </gallery> | ||
[[Category:ProtoFlux:Avatars] | [[Category:ProtoFlux:Avatars]] |
Latest revision as of 19:18, 20 February 2024
Nearest User Foot
Avatars
Nearest User Foot is a protoflux node that returns the closest user foot to a slot and the foot's user, or closest to the root if not provided a slot. This will also ignore the user provided to IgnoreUser (User).
Inputs
Outputs
Reference (Slot)
The slot which to use as a point to find the closest foot to.
IgnoreUser (User)
The user to ignore when looking for the nearest foot.
IgnoreAFK (bool)
Will not return a foot position from a user that is not currently focused into the world.
GetLeft (bool)
Whether to get the left foot if closest, true by default.
GetRight (bool)
Whether to get the right foot if closest, true by default.
Slot
The slot of the foot when found.
User (User)
The user of the foot that was found.
Distance (float)
How far away the found foot was.
Chirality
The side of the foot that was found. Left or Right or -1.
Examples
-
And example of Nearest User Foot being used in relation to a soccer ball.