Community ProtoFlux Library/AmasterAmaster/Avatar/Get User Avatar Root

From Resonite Wiki
Revision as of 21:49, 23 August 2024 by AmasterAmaster (talk | contribs) (Clarified some parts of it. Some simple cleanup. Added links.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This is a custom ProtoFlux node maintained by AmasterAmaster. Contact the creator of the node (not the Dev Team) with any bugs or issues.
This node was created using an in-game system and has no correlation to the Plugin system. Currently, these types of custom nodes are not officially supported by Resonite.
Get User Avatar Root
User
AvatarRoot
SearchDepth
AvatarHips
GlobalPosition
GlobalRotation
GlobalScale
Amaster's Avatar Library

The Get User Avatar Root node allows the user to find the avatar's root and hips from a user and their global position, rotation and scale.

Input

User (User)

The user that the node will output the values from.

SearchDepth (int)

How far down the slot hierarchy to find the hips of the user.

Output

AvatarRoot (User)

The avatar root itself, usually the avatar the user has equipped.

AvatarHips (User)

The slot of the user avatar's hip.

GlobalPosition (Float3)

The float3 value of the avatar's position.

GlobalRotation (floatQ)

The floatQ value of the avatar's rotation.

GlobalScale (Float3)

The float3 value of the avatar's scale.