Introduction

A connection line can be created between the player and the target point, which will disappear when the player reaches the destination.

The Point component consists of a trigger area and a Target, with three trigger modes available: Trigger, Interact, and OnlyScript:

In Trigger mode: The connection line appears when the player enters the trigger area

In Interact mode: The connection line appears when the player clicks the interaction button

In OnlyScript mode: The connection line is controlled exclusively through scripts

The line will automatically hide when the player reaches the Target.

You can also use the command StartGuide to manually control the display of the connection line

image.png

point组件.mp4

Property

Property Type Description
Is Active Bool Whether the object is enabled
Tigger Mode Enum Trigger: The connection line appears when the player enters the trigger area

Interact: The connection line appears when the player clicks the interaction button

OnlyScript: The connection line is controlled exclusively through scripts | | Target Position | Vector3 | The position of the target transform | | Target Rotation | Vector3 | The rotation of the target transform | | Target Scale | Vector3 | The scale of the target transform |

Event

None

Command

Command Description Parameter
Start Guide Show guide arrow (only visible to the current player)
Exit Guide Hide guide arrow for this component