Physical Buttons can be used to allow users to interact with your scene by pressing a button with your controller.
The axis the button will move on when pressed
How much the button can be pressed
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.
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.
Which avatars to send events for when pressed.
On Press - Triggered when the button is pressed in to the activation point
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
Updated 5 months ago