Hello everyone,
I was using the file format OBJ, but decided to try using AWD. However, I seem to be having a problem getting the position of meshes in my scene.
For example, if I try to get the x of an object through mesh.x, it will return 0. The object is placed at the same position as it is in 3dsMax, but when I try to get the position values, they are all 0. I actually had the same problem when using OBJ, but with OBJ when I would use minX or other such values, it would give me the minX relative to the position.
For example, the minX and maxX of an object when I use OBJ would be about 596 and 599. Which makes the x be at about 597.5 which is the position it has in 3dsMax. However, when I do the same with AWD instead, the minX and maxX are -2 and 2, which makes the position be at 0, so I can’t use the minX and maxX to find the x position like I did with OBJ.
However, I found that if a mesh is attached to a bone in 3dsMax with the skin modifier, then when I get the minX and maxX of the mesh it will match with the position of the bone, so if the bone is at the same position as the mesh, then I can use that to find the position values of the mesh.
Anyway, I was just wondering if there might be something I am doing wrong. If I have a scene made in 3dsMax and I export it into AWD, then when I use it in Away3D should I be able to find the position values of different meshes inside the same file even if they are not attached to a bone?