Layers
Unity uses layers to control collision detection and display switching. Since some layers are used for the operation of the cluster app itself, the User Layers that can be used freely are limited.
User Layers available for GameObjects in the world
In addition to the standard Unity layers, the following layers can be used for GameObjects in the world:
User Layer | Name | Description |
---|---|---|
7 | CameraOnly | Colliders on the CameraOnly layer can only be passed through by the camera. Avatars and items cannot pass through. |
19 | VenueLayer0 | This is a freely usable layer for the world. |
20 | VenueLayer1 | This is a freely usable layer for the world. |
21 | PostProcessing | This is the layer set for the Post Processing Volume. |
22 | PerformerOnly | Colliders on the PerformerOnly layer can only be passed through by performers (staff, guests). General participants cannot pass through. When used outside of events, no one can pass through. |
29 | VenueLayer2 | This is a freely usable layer for the world. |
User Layers used by cluster
cluster uses the following layers. When placing a Camera in the world, be sure to adjust the Culling Mask settings.
User Layer | Name | Description |
---|---|---|
6 | Accessory | This layer is set for accessories worn by players. |
9 | FIRSTPERSON_ONLY_LAYER | This layer renders the avatar in the user’s first-person view. Since some parts of the avatar are hidden, it’s recommended not to display this layer on the camera. |
10 | THIRDPERSON_ONLY_LAYER | This layer renders the avatar in the user’s third-person view. If you want to display your avatar on the camera, ensure this layer and layer 16 (OwnAvatar) are visible. |
11 | RidingItem | This layer is set for Ridable Items that the player is riding. |
14 | InteractableItem | This layer is automatically set for items with a Grabbable Item or Interact Item Trigger. |
15 | OtherAvatar | This layer is set for the colliders of other users' avatars. |
16 | OwnAvatar | This layer is set for the colliders or parts of the user’s own avatar. If you want to display your avatar on the camera, ensure this layer and layer 10 (THIRDPERSON_ONLY_LAYER) are visible. |
18 | GrabbingItem | This layer is set for Grabbable Items that the player is currently holding. |
23 | Performer | This layer is used for rendering and movement detection of avatars for event guests or staff. |
24 | Audience | This layer is used for rendering and movement detection of avatars for general participants at events or in the world. |
Settings in the Project Settings such as the Layer Collision Matrix do not affect the behavior in the cluster app.
It is recommended to preview using the same settings as in the sample project Project Settings.