We were hanged the presentation of the 17th puzzle.
At the beginning, we wanted to convey that the disjointed three-dimensional objects can be seen correctly from a specific point of view, so we decided to exhibit them as three-dimensional objects.
There were two problems with this exhibit method.
For these reasons, we decided not to exhibit it as a three-dimensional object, but to exhibit the image (Render Texture) taken with a dedicated space and camera as a two-dimensional painting.
Due to the change in display method, it became necessary to change the click processing.
When the user clicks on the Render Texture picture to operate the puzzle, the click must be sent to the puzzle part corresponding to that location.
This converts the clicked world coordinates on the plane (of the Render Texture picture) in the event handler to the local coordinates of another plane that is aligned with the angle of the parallel projection camera aimed at the solid object, and from there the RayCast By doing so, it was possible to convey the click to the target solid.