Creating boxes of child's size
Blitz3D Forums/Blitz3D Programming/Creating boxes of child's size
| ||
Hi all, I'm trying to create a box of the same child and with the same orientation that a child read from an animated meshed. I have a scenario in which there are a lot of wood boxes. I'm trying to create cubes (with 'createcube') of the same size that the boxes, but I'm obtaining bizarre results.. I've tried a lot if things, but I don't obtain the desired results. Please, please, someone have a piece of code to do that!??? Thanks in advance! |
| ||
Here you have, my own function for mesh size calculation: Usage Example: xsize# = MeshSize(child1,0) ysize# = MeshSize(child1,1) zsize# = MeshSize(child1,2) Note: Function ChildSize (above) is needed too. |
| ||
Muchas gracias machote! ;) (Thanks a lot mate!) |