add info |
template |
||
Line 10: | Line 10: | ||
<!--T:3--> | <!--T:3--> | ||
== | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|Anchor|'''[[Component:AvatarAnchor|AvatarAnchor]]'''|TypeAdv0=true| The anchor to enter after confirming the enter anchor. | |Anchor|'''[[Component:AvatarAnchor|AvatarAnchor]]'''|TypeAdv0=true| The anchor to enter after confirming the enter anchor. | ||
Line 17: | Line 17: | ||
|Enter|Bool| Whether to allow this component to be used for entering the anchor. | |Enter|Bool| Whether to allow this component to be used for entering the anchor. | ||
|Exit|Bool| Whether to allow this component to be used for exiting the anchor. | |Exit|Bool| Whether to allow this component to be used for exiting the anchor. | ||
|AcceptOutOfSightTouch|Bool| | |AcceptOutOfSightTouch|Bool| {{Template:Touchable_AcceptOutOfSightTouch}} | ||
|AcceptPhysicalTouch|Bool| | |AcceptPhysicalTouch|Bool| {{Template:Touchable_AcceptPhysicalTouch}} | ||
|AcceptRemoteTouch|Bool| | |AcceptRemoteTouch|Bool| {{Template:Touchable_AcceptRemoteTouch}} | ||
|Vibrate|VibratePreset| What kind of haptics vibration feedback to send to the user's controller when bringing up the enter or exiting prompt. | |Vibrate|VibratePreset| What kind of haptics vibration feedback to send to the user's controller when bringing up the enter or exiting prompt. | ||
}} | }} | ||
Line 31: | Line 31: | ||
<!--T:6--> | <!--T:6--> | ||
== | == See Also == | ||
[[Component:AvatarAnchor|Avatar Anchor]] | [[Component:AvatarAnchor|Avatar Anchor]] | ||
</translate> | </translate> | ||
[[Category:Components{{#translation:}}|Avatar Anchor Touch Trigger]] | [[Category:Components{{#translation:}}|Avatar Anchor Touch Trigger]] | ||
[[Category:Components:Users:Common Avatar System:Anchors{{#translation:}}|Avatar Anchor Touch Trigger]] | [[Category:Components:Users:Common Avatar System:Anchors{{#translation:}}|Avatar Anchor Touch Trigger]] |
Revision as of 17:27, 21 January 2025
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Component image 
AvatarAnchorTouchTrigger component as seen in the Scene Inspector

Used often for a way of entering and exiting an Avatar Anchor when the user wants to.
Fields
Name | Type | Description |
---|---|---|
persistent
|
Bool | Determines whether or not this item will be saved to the server. |
UpdateOrder
|
Int | Controls the order in which this component is updated. |
Enabled
|
Bool | Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't. |
Anchor
|
AvatarAnchor | The anchor to enter after confirming the enter anchor. |
EnterText
|
String | The text for when the user is being prompted to enter the anchor. |
ExitText
|
String | The text for when the user is being prompted to exit the anchor. |
Enter
|
Bool | Whether to allow this component to be used for entering the anchor. |
Exit
|
Bool | Whether to allow this component to be used for exiting the anchor. |
AcceptOutOfSightTouch
|
Bool | Whether or not to allow interaction with this component if it is out of the user's view. |
AcceptPhysicalTouch
|
Bool | Whether to allow Component:TipTouchSources to interact with/activate this component. |
AcceptRemoteTouch
|
Bool | Whether this component allows interaction via the user's interaction laser. |
Vibrate
|
VibratePreset | What kind of haptics vibration feedback to send to the user's controller when bringing up the enter or exiting prompt. |
Behavior
This needs a collider on the same slot to allow for clicking and bringing up the prompt. The EnterText
and ExitText
fields are usually driven by a component. The component automatically translates the dialogues for them in their context menu to their selected locale language.