Hello,
I'm trying to make a little game with interactions a bit like point and click but within the framework of my narrative game.
The idea is quite simple, at some point the player will be in a city which will be represented by a canvas (or an image) on which I want to add clickable elements (image or gameobject) triggering schematics (opening a shop for example) , in another case even if it is similar a map on which the player can click on the points of interest to move there also triggering a schematic (change of scene, triggering of dialogue or combat >in 3D).
For the moment my tests are unsuccessful, I have the canvas on which I put an image as a child, on the image I put a Machine Interaction component + selected object + box collider of the size of the image.
The only time it works is when I put a very large interaction distance like 500+.
I also changed the settings in ORK as shown in the images. I'm not sure what I'm looking at.
https://imgur.com/a/HOPULZX
You can also try using an Animation Machine instead - that way you can integrate it into UI events, e.g. from a Button that uses the parameterless animation event start type of the machine.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!