Community ProtoFlux Library/AmasterAmaster/Avatar/Get User Avatar Root: Difference between revisions
From Resonite Wiki
Created page with "{{Custom Node|AmasterAmaster}} {{#Invoke:ProtoFlux|GenerateUI |Name=Get User Avatar Root |Category= Amaster's Avatar Library |Inputs= [ {"Name":"User", "Type":"User"}, {"Name":"SearchDepth", "Type":"int"} ] |Outputs= [ {"Name":"AvatarRoot", "Type":"Slot"}, {"Name":"AvatarHips", "Type":"Slot"}, {"Name":"GlobalPosition", "Type":"float3"}, {"Name":"GlobalRotation", "Type":"floatQ"}, {"Name":"GlobalScale", "Type":"float3"} ] |Custom=true |}} The '''..." |
Clarified some parts of it. Some simple cleanup. Added links. |
||
(2 intermediate revisions by one other user not shown) | |||
Line 20: | Line 20: | ||
|}} | |}} | ||
The '''Get User Avatar Root''' | 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 28: | Line 28: | ||
The user that the node will output the values from. | The user that the node will output the values from. | ||
=== SearchDepth (Type:int|int]]) === | === SearchDepth ([[Type:int|int]]) === | ||
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]]) === | ||
The root | The avatar root itself, usually the avatar the user has equipped. | ||
=== AvatarHips ([[User|User]]) === | === AvatarHips ([[User|User]]) === | ||
Line 42: | Line 42: | ||
The slot of the user avatar's hip. | The slot of the user avatar's hip. | ||
=== GlobalPosition ([[ | === GlobalPosition ([[Type:Float3|Float3]]) === | ||
The float3 value of the avatar's position. | The float3 value of the avatar's position. | ||
=== GlobalRotation ([[ | === GlobalRotation ([[Type:FloatQ|floatQ]]) === | ||
The floatQ value of the avatar's rotation. | The floatQ value of the avatar's rotation. | ||
=== GlobalScale ([[ | === GlobalScale ([[Type:Float3|Float3]]) === | ||
The float3 value of the avatar's scale. | The float3 value of the avatar's scale. |
Latest revision as of 21:49, 23 August 2024
Get User Avatar Root
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.