|TriggersOnly|Bool| Whether to only allow triggers in this component's slot hiearchy to trigger the teleporter.
|TriggersOnly|Bool| Whether to only allow triggers in this component's slot hiearchy to trigger the teleporter.
|Exits|{{RootFieldType|SyncList`1|[[#Exit|Exit]]}}|TypeAdv1=true| A list of slot exits to send the user to, which include rotation and individualized data.
|Exits|{{RootFieldType|SyncList`1|[[#Exit|CharacterTeleporter.Exit]]}}|TypeAdv1=true| A list of slot exits to send the user to, which include rotation and individualized data.
|MinimumVelocity|Float| the minimum velocity the user has to be traveling to enter the teleporter.
|MinimumVelocity|Float| the minimum velocity the user has to be traveling to enter the teleporter.
|DirectionReference|Float3| Which way is looking forward for this teleporter.
|DirectionReference|Float3| Which way is looking forward for this teleporter.
Revision as of 06:01, 17 March 2025
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 unless TriggersOnly is disabled.
A generator for points the user should end up when exiting out of this exit. for example, teleporting users into a circle area after they exit here. Only works if RelativeExitPoint is false.
Sync Delegates that take Float3 that should be called when the teleporter is exited here.
Usage
Place the component on a slot with a collider that has character collider field enabled. Next, specify slot(s) for the user to exit out of in the Exits list. Walking into the collider zone will send you and anyone else to the target Exit
Examples
Can be used in conjunction with a Camera Portal to make a gateway/portal. It can also be used to make a Tardis interior.
Teleport users using the CharacterTeleporter component by ProbablePrime.