-
Notifications
You must be signed in to change notification settings - Fork 276
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
After rotating a model, I get the wrong aabb values #1316
Comments
My observation after looking at it for a while, is that after the rotation (e.g. changing position doesn't seem to have a problem) the size of aabb seems probably fine, but its the position of aabb which is wrong. |
Few additional observations:
|
Has this been fixed? #1379 seems to be closed. |
@intrida-dev It has not been fixed. For distantly-placed models, I have not been able to make individual object rotations on objects work within xeokit's RTC tiles coordinate system. I'm not sure of a solution for that at this stage. Only translations currently work for all models. |
@xeolabs Ok. We will try applying translations until this gets fixed. Thanks |
Describe the bug
Rotating a model makes its aabb wrong
To Reproduce
Steps to reproduce the behavior:
viewer.scene.models.myModel.rotation = [0, 40, 0]
Expected behavior
The aabb is still right after rotation
Screenshots
I made a script that draws a transparent cube given an aabb for testing:
It is correct initially before rotation
But after rotating:
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: