Skip to main content

WEAVR Components

The WEAVR contains predefined scripts (components) that can be added to objects to associate a certain behavior to them. For example, to be able to grab an object in the scene, the WEAVR Object component is added.

warning

To use any kind of WEAVR Components, you need to Setup the Scene first.

This section describes the available interactions, their behaviors, and settings.

Normal, Expert, and Debug Mode

Interaction components have two modes: Normal and Expert (Debug is for developers only).

You can activate the Expert Mode by checking the toggle in the right corner of the component you are using; the expert fields will be highlighted in blue, the debug ones in yellow.

The expert mode allows you to modify special properties of the component, for a more precise interaction.

The green Interactable button makes the component interactable or not.

ModeDescription
NormalStandard properties for typical use
ExpertAdvanced properties highlighted in blue
DebugProperties highlighted in yellow — for developers only

Stateful Behaviors

Some interactions (Door, Push Button, Switch) use States — named positions/rotations of a GameObject.

For example, a Door has two states: OPEN (position/rotation when open) and CLOSED (position/rotation when closed). A Switch can have more than two states.

The state has a Normal and an Expert mode; the green highlighted state is the current one.

Each state has the following properties:

PropertyDescription
NameThe state's name (e.g., "Closed")
ApplyMove the object to the position/rotation saved in this state
SaveSave the current position/rotation to this state
StableIf enabled, the object holds position once the state is reached
EventsEnable Unity Events for this state
Reset TimerIf NOT stable, time (seconds) before returning to default state
On Enter / Exit Audio ClipAudio clip played when entering or exiting this state
On Enter / Exit / HoldUnity Events

Component Categories

CategoryComponents
InteractionsWEAVR Object, Interaction Point, Connectable, Executable, Door, Door Lock, Push Button, Switch, Knob, Screwable
AnimationAnimate by Distance, Animate by Value
AudioAppearance Sound
Billboard SystemBillboard Element, Billboard Component
CameraLook At Camera, Look At Object
ComponentsDistance Fader, Float Event Forwarder, LED Feed, Popup Point, Propagate Object Color, Screen Feed, Scale Changer, Transform Changer, Trigger Zone
GroupsAnimator Group, Group Activator, On Enable Event, Random Activator, Component Activator
Impact SystemHit Absorber, Hitting Object, Impact Object, Object Material
UILong Press Button, Text Format Filter, Timer Formatter, Time Text, World Pointer Canvas
UtilitiesValue to String, Generic Timer, Scene Time, Counter, Teleport Area
VariablesSet Variable Value, Query Variable
MultiplayerCollaboration Settings, WeavrMultiplayer, Standalone Multiplayer