Skip to content

Box3.SetFromObject() does not always return the minimal AABB #23083

@huangyulin

Description

@huangyulin

Is your feature request related to a problem? Please describe.

When I load a model, I find that the rotation of all objects is 0, but the model rotates. At this time, the box selection range displayed by boxhelper is much larger than the actual area of the model. The evidence shows that the actual angle of the model is deflected. If the rotation of the model is modified by the program, I find that the box selection range of boxhelper will be larger. After verification, import the model into 3DMAX, adjust the model angle, reset it with resetxform, and then use boxhelper to box it for normalization. I want to know if threejs has a function like resetxform in 3DMAX
image
1
2

A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like

A clear and concise description of what you want to happen.

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions