Search Unity

centre pivot affect pivot only

Discussion in 'Formats & External Tools' started by Thunder0ne, Dec 10, 2009.

  1. Thunder0ne

    Thunder0ne

    Joined:
    Mar 8, 2009
    Posts:
    23
    I am developing a plugin that enables the loading of meshes having more than 65000 polygons.
    I am using FBX SDK.
    It looks like that I am successfully duplicating meshes whose pivot has not been modified with "centre pivot" function in 3dmax.
    Those meshes which had their pivot modified are incorrectly placed in the scene having their pivot in the same place as the original mesh but the polygons are translated by a vector that, I think, is the offset of the pivot modifier.
    How does unity3D retrieve this information from FBX?

    I am using KfbxNode::SetDefaultT() function to place the newly crated meshes' nodes.
    Meshes I am dealing with are not animated.

    Many thanks.
     
  2. Thunder0ne

    Thunder0ne

    Joined:
    Mar 8, 2009
    Posts:
    23
    I guess I found it:

    KfbxNode::GetGeometricTranslation

    Thanks.