Creating boxes of child's size

Blitz3D Forums/Blitz3D Programming/Creating boxes of child's size

Pinete(Posted 2006) [#1]
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!


KuRiX(Posted 2006) [#2]
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.




Pinete(Posted 2006) [#3]
Muchas gracias machote!
;)

(Thanks a lot mate!)