Component:TeleportBlock: Difference between revisions

From Resonite Wiki
Add info
add see alsos
Line 17: Line 17:


== See Also ==
== See Also ==
[[Component:TeleportSurface]]
[[Component:TeleportPassthrough]]


[[Category:Components:Transform:Tagging{{#translation:}}|Teleport Block]]
[[Category:Components:Transform:Tagging{{#translation:}}|Teleport Block]]
[[Category:Components{{#translation:}}|Teleport Block]]
[[Category:Components{{#translation:}}|Teleport Block]]

Revision as of 22:08, 16 October 2024

Component image 
Teleport Block component as seen in the Scene Inspector

Teleport Block is a component that is used to tag colliders like platforms and walls as a place where a user cannot teleport to via the Teleport Locomotion Mode.

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.

Behavior

When a user using teleport mode tries to teleport onto or through a collider with this component, it will make the path turn red and deny them from teleporting to the selected point.

Examples

Put on walls, and platforms like dangerous areas to prevent teleporting to or through them.


See Also

Component:TeleportSurface Component:TeleportPassthrough