Skip to content

Loading GLB with Multiple Components Cause Problem #473

@ffreality

Description

@ffreality

First of all, I am an Unreal Engine 5 (C++) developer and don't know JS too much. So, sorry for noob code.

UE5 doesn't support web export. For this reason I searched alternative libraries which supports WebGPU and I found Orillusion.

My code is here.
https://github.com/Frozen-Web/webgpu_ori/blob/main/index.html

But If I try to import 2CylinderEngine.glb, all components come at wrong locations like this.

Image

I know that problem is about pivot locations of each components. I can fix them in UE5 with changing their vertices buffer before assinging them to their respective LODResources while importing them at the runtime.

But do we need to do same thing in here ? Is there any solution for that ?

Correct view should be like this.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions