Skip to content

FBX Importer: AI_CONFIG_IMPORT_FBX_PRESERVE_PIVOTS=false, Wrong Animation #6114

@Nor-s

Description

@Nor-s

Describe the bug

import FBX created with a dummy node name.

  • when not simple animation

However, AI_CONFIG_IMPORT_FBX_PRESERVE_PIVOTS=false setting
prevents the creation of dummy node names.

As a result, animations and characters are not mapped properly, which leads to problems.

To Reproduce

  1. mixamo animation download
  2. Assimp::Importer importer; importer.SetPropertyBool(AI_CONFIG_IMPORT_FBX_PRESERVE_PIVOTS, false);
  3. import mixamo animation
  4. see below image (test program:https://github.com/Nor-s/Anim)
    • anim channel name contains AssimpFBX string
    • But model is no, so animation is wrong

Image

Image

Expected behavior

No dummy node in animation
and always create simple anim node When AI_CONFIG_IMPORT_FBX_PRESERVE_PIVOTS=false

Platform (please complete the following information):

  • Windows11
  • OpenGL

Metadata

Metadata

Assignees

No one assigned

    Labels

    AnimationBugs related to the animation dataBugGlobal flag to mark a deviation from expected behaviourFBXBugs related to the FBX format

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions