Nearest User Head
Avatars
Nearest User Head is a protoflux node that returns the closest user head to a slot and the head'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 head to.
IgnoreUser (User)
The user to ignore when looking for the nearest head.
IgnoreAFK (bool)
Will not return a head position from a user that is not currently focused into the world.
Slot
The slot of the head when found.
User (User)
The user of the head that was found.
Distance (float)
How far away the found head was.
Examples
-
And example of Nearest User Head being used in relation to controlling who should simulate an item when the host is afk.
[[Category:ProtoFlux:Avatars]