Meta 帳戶登場:您可以建立 Meta 帳戶來登入 VR 裝置。 了解詳情

RESPAWN PLAYER

Moves and rotates a player to a spawn gizmo.

Appearance in Composition Pane
Description

Respawns a player to a spawn point gizmo. If the spawn point is set to “set position only” it will not rotate the player. The spawn point can also change the player's speed and gravity.
Parameters

player, object
Respawns the player to the spawn gizmo object.

Example 1: Respawn/teleport trigger

Placing a trigger under your world with this script allows you to catch any fallen players, or those who experience severe lag. You can also use this script to teleport players.
Example 2: Water balloon that respawns a player when hit

Next Up