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

Import hierarchy scale issue #455

Open
yaustar opened this issue Jul 12, 2021 · 5 comments
Open

Import hierarchy scale issue #455

yaustar opened this issue Jul 12, 2021 · 5 comments
Assignees
Labels
area: asset import bug Something isn't working

Comments

@yaustar
Copy link
Contributor

yaustar commented Jul 12, 2021

Project: https://playcanvas.com/project/812065/overview/import-hierarchy-issue

Using import hierarchy on this FBX creates a template that has it's render assets entities set to 100 and is 100 times large than when imported as a model asset

image

Note: When first adding the hierarchy template to the scene, the mesh did not render and required a refresh of the browser.

See video below

Not 100% sure if this is an engine or editor issue

Kapture.2021-07-12.at.10.34.24.mp4
@yaustar yaustar added bug Something isn't working area: asset import labels Jul 12, 2021
@mvaligursky
Copy link

The scaling is likely related to the fact that the fbx is exported in cm units. @slimbuck - do you know much about how this is handled? Do we automatically convert to meters, or do we expect files to be in meters already?

@mvaligursky
Copy link

| Note: When first adding the hierarchy template to the scene, the mesh did not render and required a refresh of the browser.

Fix for this part: playcanvas/engine#3328

@slimbuck
Copy link
Member

The scaling is likely related to the fact that the fbx is exported in cm units. @slimbuck - do you know much about how this is handled? Do we automatically convert to meters, or do we expect files to be in meters already?

Yes correct, backend converts models to meters and scales the parent accordingly.

@mvaligursky
Copy link

@ellthompson - can you please investigate the part where the mesh does not animate. Make sure to get latest engine to have the fix I mention above.

@yaustar
Copy link
Contributor Author

yaustar commented Jul 12, 2021

Should it be in a different 'pose' too? (the video above has no animation)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: asset import bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants