Resonite-Issues icon indicating copy to clipboard operation
Resonite-Issues copied to clipboard

Physical and Touch Button components don't send on hover event to button audio clip player for on hover start/end.

Open AegisTheWolf opened this issue 4 months ago • 1 comments

Describe the bug?

When making a physical or touch button on a physical mesh/collider and adding an audio clip to make sounds when you hover over it the audio will not play, pressing it and releasing it works with the audio but not the hover events.

To Reproduce

Simply make either a Physical button and/or Touch Button on a mesh/primitive you want to use and add the Button Audio Clip Player component on it and get a test sound effect. Create a clip for any of the events and you will see which ones work (press and release) and the ones that dont (hover enter and leave)

Expected behavior

Mainly wanting consistency with component behavior would be expected as the hover events work in UIX and you can detect if a user is hovering over a button that is mesh/collision based (though it is not ideal to use that bool for sounds as a component exists already that should work with this)

Screenshots

This shows a box with the TouchButton component and ButtonAudioClipPlayer components attached to it. Image

Resonite Version Number

Beta 2024.10.4.923

What Platforms does this occur on?

Windows

What headset if any do you use?

Vive Pro Eye

Log Files

N/A

Additional Context

No response

Reporters

Aegis_Wolf

AegisTheWolf avatar Oct 07 '24 20:10 AegisTheWolf