Skip to content

LWO Loader incorrect placement of geometry and mesh when used with pivot point placement #26733

@WORMSS

Description

@WORMSS

Description

Hello, I've made a few objects in Lightwave and I use the LWOLoader to load them.

Layer 1, I modeled an object around 0,0,0 and I apply rotation on that mesh, and everything works as expected.

On Layer 2, I modeled another object but I positioned it where it should be relative to Layer 1. But, being a little clever boy, I set the pivot point (Lets just say 2,1,0). In Lightwave when I tell to rotate from the pivot point, it moves as expected.
But when I use THREE to rotate the mesh, it rotates from 0,0,0 and not 2,1,0.

Anyone know how to make LWO respect the layer's Pivot Point?

Reproduction steps

Code

// code goes here

Live example

Screenshots

No response

Version

r156

Device

No response

Browser

No response

OS

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions