Difference between revisions of "Nearest User Hand (LogiX node)"
Jump to navigation
Jump to search
(Added example number 1. Also added Template:Pre in order to maintain a clean page format.) |
|||
Line 65: | Line 65: | ||
== Examples == <!--T:6--> | == Examples == <!--T:6--> | ||
+ | 1. Limit laser grabbing distance of an object: | ||
+ | {{pre | | ||
+ | [[File:NearestUserHand01.png|400px|thumb|left|Example 1.]] | ||
+ | In this configuration the distance between the referenced slot and the nearest user hand will be compared to a distance of 1. | ||
+ | If the distance is not greater than 1 then the setting "IgnoreRaycasts" is set to false, allowing interaction with lasers and anything else which may raycast to it. | ||
+ | }} | ||
== Node Menu == <!--T:7--> | == Node Menu == <!--T:7--> |
Latest revision as of 22:51, 9 August 2022
The Nearest User Hand node.
Inputs & Outputs
Color | Label | Type |
GetLeft | Boolean | |
GetRight | Boolean | |
Reference | Slot | |
IgnoreUser | User | |
IgnoreAFK | Boolean |
Color | Label | Type |
HandSlot | Slot | |
User | User | |
Distance | Float | |
Chirality | Chirality |
Usage
Allows you to get the nearest hand slot and which hand it is to the references slot and if there is nothing in the references slot it uses itself as the references.
Examples
1. Limit laser grabbing distance of an object:
In this configuration the distance between the referenced slot and the nearest user hand will be compared to a distance of 1. If the distance is not greater than 1 then the setting "IgnoreRaycasts" is set to false, allowing interaction with lasers and anything else which may raycast to it.
Node Menu
Avatar | ||||||
---|---|---|---|---|---|---|
Back | Anchors | BodyNode | Body Node Slot | Default User Scale | Equip Avatar | Finger Pose |
Nearest User Hand | Nearest User Head | User Finger Pose Source |