Component:CharacterTeleporter: Difference between revisions

From Resonite Wiki
imported>Xekri
No edit summary
 
Automated: update Fields, Categories
(2 intermediate revisions by 2 users not shown)
Line 13: Line 13:
== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|Exits|SyncList`1|TypeString0=SyncList<Exit>|
|TriggersOnly|Bool|
|Exits|{{RootFieldType|SyncList`1|[[#Exit|Exit]]}}|TypeAdv1=true|
|MinimumVelocity|Float|
|MinimumVelocity|Float|
|DirectionReference|Float3|
|DirectionReference|Float3|
|MaxDirectionAngle|Float|
|MaxDirectionAngle|Float|
|IgnoreParentUser|Bool|
|IgnoreParentUser|Bool|
|TeleportEntered|SyncDelegateList`1|TypeString5=SyncDelegateList<Action<float3>>|
|TeleportEntered|{{RootFieldType|SyncDelegateList`1|[[Type:Action`1|Action`1]]&lt;[[Type:Float3|Float3]]&gt;}}|TypeAdv6=true|
|TeleportExited|SyncDelegateList`1|TypeString6=SyncDelegateList<Action<float3>>|
|TeleportExited|{{RootFieldType|SyncDelegateList`1|[[Type:Action`1|Action`1]]&lt;[[Type:Float3|Float3]]&gt;}}|TypeAdv7=true|
}}
}}


Line 35: Line 36:
[[Category:ComponentStubs]]
[[Category:ComponentStubs]]
[[Category:Components{{#translation:}}|Character Teleporter]]
[[Category:Components{{#translation:}}|Character Teleporter]]
[[Category:Components With Nested Types{{#translation:}}|Character Teleporter]]
[[Category:Components:Locomotion:Interaction{{#translation:}}|Character Teleporter]]
[[Category:Components:Locomotion:Interaction{{#translation:}}|Character Teleporter]]

Revision as of 20:27, 3 March 2024


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


Component image 
Character Teleporter component as seen in the Scene Inspector


The CharacterTeleporter sets up a Slot to teleport a character to the associated teleport exit when the Slot's Collider is hit. The Collider must be of type Trigger.

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.
TriggersOnly Bool
Exits list of Exit
MinimumVelocity Float
DirectionReference Float3
MaxDirectionAngle Float
IgnoreParentUser Bool
TeleportEntered direct SyncDelegateList`1<Action`1<Float3>>
TeleportExited direct SyncDelegateList`1<Action`1<Float3>>

Usage

Examples

Related Components