raytracing? how do you select a chess piece by clicking it
is it called raytracing?
im trying to set up the basic controls for a 3d chess game but i dont know if this is the right way to do it
i want to be able to click a chess piece and click a space on the board for it to move there
i also dont know how to detect the click of the mouse on the specified area of the chess board
If you are wanting to select something in-game by clicking on it, then you’re wanting Raycasting, not tracing. Raytracing is something different altogether.
Raycasting is awesome.
There’s a lot going on for what you’re suggesting, and Raycasting is a versatile tool with a lot of different functions and variables. Like Laperen said, go read up on it and if you have any specific questions, we’ll be happy to help.