Component:TouchWorldLink: Difference between revisions

From Resonite Wiki
imported>Chemicalcrux
Creating the page (with a bot!)
 
add info
 
(3 intermediate revisions by 3 users not shown)
Line 2: Line 2:
<translate>
<translate>
<!--T:1-->
<!--T:1-->
{{stub}}
{{Infobox Component
{{Infobox Component
|Image=TouchWorldLinkComponent.png
|Image=TouchWorldLinkComponent.png
|Name=TouchWorldLink
|Name=Touch World Link
}}
}}
 
The '''TouchWorldLink''' component when touched allows a user to go to the world of the given link.
<!--T:2-->
== Intoduction ==


<!--T:3-->
<!--T:3-->
== Usage ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|AcceptPhysicalTouch|Bool|  
|AcceptPhysicalTouch|Bool| {{Template:Touchable_AcceptPhysicalTouch}}
|AcceptRemoteTouch|Bool|  
|AcceptRemoteTouch|Bool| {{Template:Touchable_AcceptRemoteTouch}}
|AcceptOutOfSightTouch|Bool|  
|AcceptOutOfSightTouch|Bool| {{Template:Touchable_AcceptOutOfSightTouch}}
|Vibrate|VibratePreset|  
|Vibrate|VibratePreset| How to vibrate the haptics of the hand that touched this component.
|LastOpened|SyncTime|  
|LastOpened|{{RootFieldType|SyncTime}}|TypeAdv4=true| The last world time this component was pressed.
|WorldLink|WorldLink|  
|WorldLink|'''[[Component:WorldLink|WorldLink]]'''|TypeAdv5=true| The world link to open upon touch.
}}
}}


<!--T:4-->
<!--T:4-->
== Behavior ==
== Usage ==
Attach to a slot with a static collider, and provide a <code>WorldLink</code> for this to link to in order for it to work.


<!--T:5-->
<!--T:5-->
== Examples ==
== Examples ==
{{stub}}


<!--T:6-->
<!--T:6-->
== Related Components ==
== See Also ==
</translate>
</translate>
[[Category:Components{{#translation:}}|TouchWorldLink (Component){{#translation:}}]]
[[Category:Components{{#translation:}}|Touch World Link]]
[[Category:ComponentStubs]]
[[Category:Components:World{{#translation:}}|Touch World Link]]
[[Category:Components:World{{#translation:}}|TouchWorldLink (Component){{#translation:}}]]

Latest revision as of 18:06, 5 February 2025

Component image 
Touch World Link component as seen in the Scene Inspector

The TouchWorldLink component when touched allows a user to go to the world of the given link.

Fields

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.
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.
AcceptOutOfSightTouch Bool Whether or not to allow interaction with this component if it is out of the user's view.
Vibrate VibratePreset How to vibrate the haptics of the hand that touched this component.
LastOpened direct SyncTime The last world time this component was pressed.
WorldLink WorldLink The world link to open upon touch.

Usage

Attach to a slot with a static collider, and provide a WorldLink for this to link to in order for it to work.

Examples

This article or section is a Stub. You can help the Resonite Wiki by expanding it.

See Also