Physical Buttons
Physical Buttons can be used to allow users to interact with your scene by pressing a button with your controller.
Field | 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 & Dampening | These settings adjust how the button reacts to being pressed. |
Event Filter | Which avatars to send events for when pressed. |
Events |
|
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