Forum > Modelling and Animation
[QUESTION] Why does my m2 disappear ?
<< < (2/2)
Garthog:
So I guess, if I make the box bigger, the M2 won't disappear anymore ? ( it's a gameobject M2 )
schlumpf:
Yep. Get the maximum and minimum coordinates in all directions, build two vectors of them, edit these, calculate the radius, done.
Garthog:
That's strange. I looked at these values, and I have two point :
Vec3F[1] (-1.019845; -4.450305; 0.012929) Vec3F[2] (0.941505; 4.595078; 0.441508)
When I try to see what the bounding box looks like, to see if it fit the model, here is what I have :
[attachment=1:nui52icm]Sans titre.png[/attachment:nui52icm]
Are the Vec3F in the good order : X, Y, Z ?
Here is my M2 file. I guess I'm doing something wrong : [attachment=0:nui52icm]modif.M2[/attachment:nui52icm]
Thanks for your reply schlumpf.
schlumpf:
The vector is in x, y, z. I don't know what your editors format is though. Every vector for itself is (v1, v2, v3, ..., vn) and in 3D most of the time (x,y,z). This says nothing about the coordinate system used.
I always got the values from just getting minimum and maximum values of all dimensions of all vertices in the model. That always works. And is the way to go actually.
Navigation
[0] Message Index
[*] Previous page
|