Seat

This document provides a guide that can be used to add a seat to objects in VIVERSE project. This allows the avatar to sit down.


Seat

Add functionality to allow avatar to sit down

When the avatar enters the SeatHintFarAwayTriggerSphere, the SeatHintFarAway icon (white dot) shows above the seat.

When the avatar enters the SeatHintTriggerSphere, the SeatHint button (sitting person icon) shows above the seat.

When the avatar clicks on the SeatHint button, the avatar sits down.

1

Add the chair

A. In this example, the chairs and table have been created in the scene under a single entity.

B. Click the Edit Viverse Extension button.

2

Add the Seat module

A. In the VIVERSE extension, select the Seat plugin for the Select plugins dropdown.

B. Select the Seat module and add it.

C. Add a value to the number of seats field.

3

Adjust the sitting boundary

A. The Seat is automatically generated.

B. Adjust the Radius on the Collision component to modify the sitting boundary.

4

View the SeatHintFarAway icon

A. The SeatHintFarAway icon is a white dot that is automatically generated and hovers above each seat.

5

Adjust the boundary for the SeatHintFarAway icon

A. The SeatHintFarAwayTriggerSphere is automatically generated.

B. Adjust the Radius on the Collision component to modify the distance away before the SeatHintFarAway icon displays.

6

View the SeatHint button

A. The SeatHint button has an icon of a sitting person. The button is automatically generated and hovers above each seat. When clicked, the avatar will sit.

7

Adjust the boundary for the SeatHint button

A. The SeatHintTriggerSphere is automatically generated.

B. Adjust the Radius on the Collision component to modify the distance away before the SeatHint icon displays.

Last updated

Was this helpful?