I want to create whiteboard (plane or curved plane) on 3d world
and how i can get position of canvasTexture when raycast interact object
for draw something or create 2d minigame on canvas in canvastexture (like get mouse position on 2d world)
i try for find solution if you know please help me , thank you so much
This is Example Image i search on Internet
The following official example might be helpful to you:
When raycasting against a mesh, you can retrieve the texture coordinates of the intersection point (if the respective geometry has uv data). When applying a canvas element as a texture, you can then use these texture coordinates to draw something on it. Like the cross in the example.