Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RiveTexture.cs mouse interaction does not work with 2D canvas and 3d objects #78

Open
BitBarrel opened this issue Nov 26, 2024 · 0 comments

Comments

@BitBarrel
Copy link

There are several issues with hit testing in RiveTexture.cs:

-Mouse interaction (both mouse up, mouse down, and mouse move) does not work if a Rive texture is applied to a 3D object.

-Similar to the point above, mouse interaction does not work with a 2D canvas image component or a RawImage component.

-If Y is flipped due to DX11, hit testing is not correctly translated for both a regular material and a RawImage or Image component.

-If a riv file are applied to different objects, the riv animations are all copies instead of individual instances. So if you click on one item, all the other items also display the same click animation.

@BitBarrel BitBarrel changed the title RiveTexture.cs mouse intereaction does not work with 2D canvas and 3d objects RiveTexture.cs mouse interaction does not work with 2D canvas and 3d objects Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant