Component:TeleportBlock: Difference between revisions

From Resonite Wiki
Automated: create new component page
 
Add info
Line 3: Line 3:
|Name=Teleport Block
|Name=Teleport Block
}}
}}
{{stub}}
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 [[Component:TeleportLocomotion|Teleport Locomotion Mode]].


== Usage ==
== Usage ==
Line 10: Line 10:


== Behavior ==
== 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 ==
== Examples ==
Put on walls, and platforms like dangerous areas to prevent teleporting to or through them.


== See Also ==
== See Also ==
Line 17: Line 20:
[[Category:Components:Transform:Tagging{{#translation:}}|Teleport Block]]
[[Category:Components:Transform:Tagging{{#translation:}}|Teleport Block]]
[[Category:Components{{#translation:}}|Teleport Block]]
[[Category:Components{{#translation:}}|Teleport Block]]
[[Category:ComponentStubs]]

Revision as of 22:05, 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