I'm doing ray picking to find the scene node that my cursor points at. All of those scene nodes are equally sized cubes. I have the hit scenenode's position, the position of the ray intersection and the triangle that the node/mesh that were hit. What i want to do is to attatch a new block to the face of the collided scenenode block that were hit. I want it to work as a 3D grid in MineCraft style. I dont want any code, just some pointers and hints to how i can properly create the new block to the correct position.
If anyone is interested or want/need to know, i'm using Irrlicht 1.7.1.