HomeGuides
HomeGuidesLearn about the Immerse SDK installerLog In

Physical Buttons

Physical Buttons can be used to allow users to interact with your scene by pressing a button with your controller.

The default setup for the physical buttonThe default setup for the physical button

The default setup for the physical button

Description

Axis

The axis the button will move on when pressed

Limit

How much the button can be pressed

Activation point

The point at which the button is considered pressed. This is a normalised value where 0 is not pressed and 1 is at the limit.

Reset Point

The point at which the button is considered released. This is a normalised value where 0 is not pressed and 1 is at the limit.

Frequency & Damping

These settings adjust how the button reacts to being pressed.

Event Filter

Which avatars to send events for when pressed.

Events

On Press - Triggered when the button is pressed in to the activation point
On Release - Triggered when the button is released past the reset point

Example ButtonExample Button

Example Button

Creating A Physical Button

The Interaction package comes with a prefab to help speed up creation of your button, this can be found in GameObject > Create Other > Immerse > Interaction > Prefabs > Button This will create a button that you can use as a base for your own button.

Alternatively the PhysicalButton component can be added to your GameObject in the component menu Immerse > Interaction > Interactable > Physical Button