Community ProtoFlux Library/AmasterAmaster/Avatar/Get User Avatar Root: Difference between revisions

From Resonite Wiki
=T
Clarified some parts of it. Some simple cleanup. Added links.
 
Line 20: Line 20:
|}}
|}}


The '''Get User Avatar Root''' is a custom node that allows the user to find the avatar's root and hips from a user and their global position, rotation and scale.
The '''Get User Avatar Root''' node allows the [[Type:User|user]] to find the [[Avatar|avatar's]] root and hips from a user and their global position, rotation and scale.


== Input ==
== Input ==
Line 30: Line 30:
=== SearchDepth ([[Type:int|int]]) ===
=== SearchDepth ([[Type:int|int]]) ===


The search priority of the node. (Not sure on this one. Clarify its true function when possible)
How far down the slot hierarchy to find the hips of the user.


== Output ==
== Output ==
Line 36: Line 36:
=== AvatarRoot ([[User|User]]) ===
=== AvatarRoot ([[User|User]]) ===


To find the root the avatar is parented to that is on a user.
The avatar root itself, usually the avatar the user has equipped.


=== AvatarHips ([[User|User]]) ===
=== AvatarHips ([[User|User]]) ===

Latest revision as of 21:49, 23 August 2024

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.