SIZE OF ANIMMESH

Blitz3D Forums/Blitz3D Programming/SIZE OF ANIMMESH

D4NM4N(Posted 2005) [#1]
Whats the best way of finding the width and height of an animated mesh. Meshwidth just returns 20000000 !!


D4NM4N(Posted 2005) [#2]
ok ive worked that bit out, use loadmesh, mesure it, delete it and re load it animmesh.

BUT,

How do i put the axis in the center of the model as fitmesh doesnt work. I want to use a pivot, but without knowing where the objects axis is, i have nothing to reference


KuRiX(Posted 2005) [#3]
It is better to put the center of axises in the 3d model software, then when you export it, you know it is in the position (0,0,0).


D4NM4N(Posted 2005) [#4]
ok, thats one way, but i have various characters where the axis position needs to be different. All i want to do is to set the entityradius correctly, without having to do code for each model.


Strider Centaur(Posted 2005) [#5]
Cant that be done with a Bone Joint in a animesh?