Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fbx model not loaded as expected #26918

Closed
mcathena opened this issue Oct 8, 2023 · 2 comments
Closed

Fbx model not loaded as expected #26918

mcathena opened this issue Oct 8, 2023 · 2 comments

Comments

@mcathena
Copy link

mcathena commented Oct 8, 2023

Description

Hi I am using FBXLoader to load fbx in three.js. However, the fbx looks as shown in the image below. It's not in T pose and is not facing the camera. What is wrong with this?
image

Reproduction steps

  1. npm install
  2. npm run dev

it will automatically load fbx.

Code

FBXLoader.zip

Live example

N/A

Screenshots

No response

Version

0.139.2

Device

Desktop

Browser

Chrome

OS

MacOS

@Mugen87
Copy link
Collaborator

Mugen87 commented Oct 8, 2023

I can reproduce in the latest three.js editor. However, I get the exact same result in Blender:

image

In both tools, the animation is equally broken.

The animation support is FBXLoader is fragile because there is no common way in FBX how bone matrices work, see #14204. I recommend you switch to a different format like glTF since I do not expect a fast fix in this context.

@Mugen87 Mugen87 added the Loaders label Oct 8, 2023
@Mugen87
Copy link
Collaborator

Mugen87 commented Oct 10, 2023

Merging this into #14204.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants