Component:CharacterColliderWorldLink: Difference between revisions

From Resonite Wiki
Automated: update Fields, Categories
add info
 
Line 7: Line 7:
|Name=CharacterColliderWorldLink
|Name=CharacterColliderWorldLink
}}
}}
 
Character collider world link is a component that allows for having a user trigger a world link when they collide against a collider or go into a trigger zone.
<!--T:2-->
== Intoduction ==


<!--T:3-->
<!--T:3-->
== Usage ==
== Usage ==
{{Table ComponentFields
{{Table ComponentFields
|TriggersOnly|Bool|
|TriggersOnly|Bool| Whether to only allow collision events from trigger type colliders on this slot to trigger or all types of colliders to trigger this world link.
|OpenOnContactStart|Bool|
|OpenOnContactStart|Bool| Use world link on contact start.
|OpenOnContactStay|Bool|
|OpenOnContactStay|Bool| Use world link on contact stay.
|OpenOnContactEnd|Bool|
|OpenOnContactEnd|Bool| Use world link on contact end.
|WorldLink|'''[[Component:WorldLink|WorldLink]]'''|TypeAdv4=true|
|WorldLink|'''[[Component:WorldLink|WorldLink]]'''|TypeAdv4=true| The world to open and optionally go to to on contact.
|LastOpened|{{RootFieldType|SyncTime}}|TypeAdv5=true|
|LastOpened|{{RootFieldType|SyncTime}}|TypeAdv5=true| Last time this world link was used.
}}
}}


Line 27: Line 25:
<!--T:5-->
<!--T:5-->
== Examples ==
== Examples ==
Useful for portals, or "teleporters".


<!--T:6-->
<!--T:6-->
Line 32: Line 31:
</translate>
</translate>
[[Category:Components{{#translation:}}|Character Collider World Link]]
[[Category:Components{{#translation:}}|Character Collider World Link]]
[[Category:ComponentStubs]]
[[Category:Components:World{{#translation:}}|Character Collider World Link]]
[[Category:Components:World{{#translation:}}|Character Collider World Link]]

Latest revision as of 13:56, 20 October 2024


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


Component image 
CharacterColliderWorldLink component as seen in the Scene Inspector

Character collider world link is a component that allows for having a user trigger a world link when they collide against a collider or go into a trigger zone.

Usage

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.
TriggersOnly Bool Whether to only allow collision events from trigger type colliders on this slot to trigger or all types of colliders to trigger this world link.
OpenOnContactStart Bool Use world link on contact start.
OpenOnContactStay Bool Use world link on contact stay.
OpenOnContactEnd Bool Use world link on contact end.
WorldLink WorldLink The world to open and optionally go to to on contact.
LastOpened direct SyncTime Last time this world link was used.

Behavior

Examples

Useful for portals, or "teleporters".

Related Components