Table of Contents

VCI PlayerSpawnPoint

What is this component for?

This component is for specifying the spawn position of the players entering a studio.

Specify the spawn position and rotation of players by the Transform of the GameObject, which the VCIPlayerSpawnPoint is attached.

When a player enters a studio, they will be associated with one of the VCIPlayerSpawnPoints and spawned with the specified position and rotation.

This works only when the VCI is loaded as a location.

How to implement

Attach VCIPlayerSpawnPoint to any GameObject under the GameObject with VCIObject component attached.

You can add multiple VCIPlayerSpawnPoints in a single VCI.

Only one VCIPlayerSpawnPoint can be attached to a GameObject.

Specify position and rotation

Specify the associated player's spawn position and rotation with the Transform (only position and rotation)

of the GameObject, which the VCIPlayerSpawnPoint is attached.

Caution

It will be affected by the position and rotation of GameObjects in the higher hierarchy.

If the validation rejects it even if you have set the Transform correctly, make sure that unintended transformation is not made in the upper hierarchy.

Parameters

Parameter name Description
Order The priority order in which the component is associated with a player
Radius The radius in which the spawn position can be spread within

Order

Order 0

Radius

Using the Position of VCIPlayerSpawnPoint as the origin point,

the spawn position of the associated player will be spread randomly across XZ plane

within the specified Radius.