Component:TouchWorldLink: Difference between revisions

From Resonite Wiki
template
add info
 
Line 4: Line 4:
{{Infobox Component
{{Infobox Component
|Image=TouchWorldLinkComponent.png
|Image=TouchWorldLinkComponent.png
|Name=TouchWorldLink
|Name=Touch World Link
}}
}}
{{stub}}
The '''TouchWorldLink''' component when touched allows a user to go to the world of the given link.


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


<!--T:4-->
<!--T:4-->
== Usage ==
== 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-->
Line 29: Line 31:
</translate>
</translate>
[[Category:Components{{#translation:}}|Touch World Link]]
[[Category:Components{{#translation:}}|Touch World Link]]
[[Category:ComponentStubs]]
[[Category:Components:World{{#translation:}}|Touch World Link]]
[[Category:Components:World{{#translation:}}|Touch World Link]]

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